01.12.2012 Views

OrcaFlex Manual - Orcina

OrcaFlex Manual - Orcina

OrcaFlex Manual - Orcina

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

w<br />

Line1:<br />

LineType[2]: Variant Line Type3<br />

And some new attachment types:<br />

ClumpType:<br />

Name: Clump 5<br />

DragArea: [0.7, 07, 0.1]<br />

DragChainType:<br />

Name: Short Chain 2<br />

Length: 12<br />

101<br />

Automation, Text Data Files<br />

Note: Objects must created before they are referred to later in the file. So a new line type must be created<br />

in the data file before a line can be later modified to refer to it.<br />

Data found on the General And Environment Data forms<br />

Data on these forms can be set by referencing the General or Environment objects as follows (the following example<br />

assumes that the base file model has 2 simulation stages):<br />

General:<br />

ImplicitUseVariableTimeStep: Yes<br />

ImplicitVariableMaxTimeStep: 0.2<br />

# Add another simulation stage<br />

NumberOfStages: 3<br />

StageDuration[3]: 12.0<br />

Environment:<br />

SeaBedStiffness: 3000<br />

SeaBedDamping: 80<br />

RefCurrentSpeed: 1.2<br />

RefCurrentDirection: 36.0<br />

Wave train data requires that the target wave train is selected by name first. The example assumes a base file model<br />

with only one wave train and adds a new wave train and names it 'AiryWave' (after being added the wave train is<br />

automatically selected). Then the first wave train is modified after being selected with the SelectedWave<br />

identifier:<br />

Environment:<br />

# Add a wave train<br />

NumberOfWaveTrains: 2<br />

WaveName[2]: AiryWave<br />

# AiryWave is now the selected wave<br />

WaveType: Single Airy<br />

WaveDirection: 180<br />

WaveHeight: 3.2<br />

WavePeriod: 12.5<br />

# Change selected wave to Wave1<br />

SelectedWave: Wave1<br />

WaveDirection: 100<br />

WaveHeight: 4.3<br />

WavePeriod: 7.8<br />

Data for Multiple Current data sets<br />

The example below creates two Currents in a multiple current set, and selects one to be the active current using the<br />

ActiveCurrent identifier:<br />

Environment:<br />

# Multiple current set<br />

MultipleCurrentDataCanBeDefined: Yes<br />

NumberOfCurrentDataSets: 2<br />

CurrentName[1]: Ebb<br />

CurrentName[2]: Flow<br />

# To modify the Ebb current, we must select it first

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!