File and Data Format/Reading Data From Files
AcuSolve input file supports two mechanisms for entering list and array data.
COORDINATE {
coordinates = {1, 1.00, 1.25, 1.50;
2, 1.10, 1.30, 1.55;
3, 1.15, 1.35, 1.60;
4, 1.25, 1.40, 1.65;
}
}
Or, the data may be read from an external file.
COORDINATE {
coordinates = Read( "channel.crd" )
}
COORDINATE {
coordinates = Read( "MESH.DIR/channel.crd" )
}
Both of the formats above are an example of relative path location. The full absolute path can also be used.
- Integers
- Real
- String
- ASCII (text) Files
- Binary Files