|
[Sponsors] |
Command to render text output from each mesh block |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 30, 2009, 14:24 |
Command to render text output from each mesh block
|
#1 |
New Member
PG
Join Date: Apr 2009
Posts: 8
Rep Power: 17 |
Hello,
I am automating Flow3d process on LINUX system. The steps are.... Stl files ---> flsgrf files ---> rendered text files. 1) I imported stl files into Flow3d by creating project file called prepin.XXXX. 2) Submitted Flow3d analysis files using the command runall to process 3) The output was flsgrf file. Now I have to render this from command line (analyze tab on flow3d tool). The flsgrf file have 9-mesh blocks. What command should I issue to get rendered text output? I need to store the output text from each mech block in a separate file. I appreciate any help. Thanks, PG |
|
October 1, 2009, 00:48 |
|
#2 |
Senior Member
michael barkhudarov
Join Date: Mar 2009
Location: Sante Fe, New Mexico, USA
Posts: 337
Rep Power: 18 |
Pg,
You will need an flsinp file for each mesh block that contains information on what and when needs to be extracted. The easiest way to create it is to do it though the GUI. After selecting the mesh block, variables and the time, and pressing Render in Analyze, save the resulting flsinp.tmp file to a file with a unique name. Do the same for all other blocks. Now you will have nine flsinp files with the proper information for each mesh block. Now you can create a scipt that runs each of them in the following sequence: 1. copy flsinp file for mesh block 1 to flsinp.xxxx, where xxxx is the extension of the flsgrf file. 2. run runpost xxxx 3. rename flslnk.xxxx file with the text output to a unique name 4. repeat for all other flsinp files for the remaning mesh blocks Hope it helps. Michael |
|
October 1, 2009, 10:10 |
Command to render text output from each mesh block
|
#3 |
New Member
PG
Join Date: Apr 2009
Posts: 8
Rep Power: 17 |
Michael, thanks for the reply.
I can't use GUI on my Linux station and I have to do this from command line. I know it is easy to create flsinp file using GUI. Is there a way to create this from command line or using some shell script? Last edited by pgopalak; October 1, 2009 at 10:32. |
|
October 2, 2009, 19:32 |
|
#4 |
Senior Member
michael barkhudarov
Join Date: Mar 2009
Location: Sante Fe, New Mexico, USA
Posts: 337
Rep Power: 18 |
PG,
It is doable from the command line, of course, but not easy to explain here. Do you have access to the Manual? It has the explanation of all the variables in the flsinp file. You can create a draft flsinp file using the pre-processor by asking for 2D or 3D plots in the GRAFIC namelist of the prepin file and running the pre-processor. Then you can open the newly created flsinp file and modify it to suit your needs. Michael |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Zones in block mesh | hansel | OpenFOAM Meshing & Mesh Conversion | 1 | July 3, 2009 04:42 |
[blockMesh] Strange Block Mesh results | ivan_cozza | OpenFOAM Meshing & Mesh Conversion | 1 | December 4, 2008 09:24 |
[Other] Output Format of MetaMesh | t42 | OpenFOAM Meshing & Mesh Conversion | 0 | August 3, 2007 05:28 |
MULTIBLOCK APPROACH | KAVEH ABDOLLAHZADEH | Main CFD Forum | 1 | November 25, 1999 18:25 |
unstructured vs. structured grids | Frank Muldoon | Main CFD Forum | 1 | January 5, 1999 11:09 |