mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
extended the conversion library and utilities
library: * routines for managing cellTable and boundaryRegion * writing ensight files and parts * mesh reader/writer for STARCD utils: * star4ToFoam * foamToStarMesh * foamToEnsightParts
This commit is contained in:
@ -5,5 +5,5 @@ EXE_INC = \
|
||||
|
||||
EXE_LIBS = \
|
||||
-lfiniteVolume \
|
||||
-llagrangian \
|
||||
|
||||
-llagrangian
|
||||
|
||||
|
||||
@ -24,6 +24,15 @@ License
|
||||
|
||||
Description
|
||||
Translates FOAM data to EnSight format
|
||||
|
||||
Usage
|
||||
- foamToEnsight [OPTION] \n
|
||||
Translates OpenFOAM data to Ensight format
|
||||
|
||||
@param -ascii \n
|
||||
Write Ensight data in ASCII format instead of "C Binary"
|
||||
|
||||
Note
|
||||
Parallel support for cloud data is not supported
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -74,16 +83,16 @@ bool inFileNameList
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
argList::validOptions.insert("patches", "patch list");
|
||||
argList::validOptions.insert("binary", "" );
|
||||
argList::validOptions.insert("ascii", "" );
|
||||
# include "addTimeOptions.H"
|
||||
|
||||
# include "setRootCase.H"
|
||||
|
||||
// Check options
|
||||
bool binary = false;
|
||||
if (args.options().found("binary"))
|
||||
bool binary = true;
|
||||
if (args.options().found("ascii"))
|
||||
{
|
||||
binary = true;
|
||||
binary = false;
|
||||
}
|
||||
|
||||
# include "createTime.H"
|
||||
|
||||
Reference in New Issue
Block a user