CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

Command to render text output from each mesh block

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2009, 13:24
Default Command to render text output from each mesh block
  #1
New Member
 
PG
Join Date: Apr 2009
Posts: 8
Rep Power: 17
pgopalak is on a distinguished road
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
pgopalak is offline   Reply With Quote

Old   September 30, 2009, 23:48
Default
  #2
Senior Member
 
michael barkhudarov
Join Date: Mar 2009
Location: Sante Fe, New Mexico, USA
Posts: 336
Rep Power: 18
MuxaB is on a distinguished road
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
MuxaB is offline   Reply With Quote

Old   October 1, 2009, 09:10
Default Command to render text output from each mesh block
  #3
New Member
 
PG
Join Date: Apr 2009
Posts: 8
Rep Power: 17
pgopalak is on a distinguished road
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 09:32.
pgopalak is offline   Reply With Quote

Old   October 2, 2009, 18:32
Default
  #4
Senior Member
 
michael barkhudarov
Join Date: Mar 2009
Location: Sante Fe, New Mexico, USA
Posts: 336
Rep Power: 18
MuxaB is on a distinguished road
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
MuxaB is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] Zones in block mesh hansel OpenFOAM Meshing & Mesh Conversion 1 July 3, 2009 03:42
[blockMesh] Strange Block Mesh results ivan_cozza OpenFOAM Meshing & Mesh Conversion 1 December 4, 2008 08:24
[Other] Output Format of MetaMesh t42 OpenFOAM Meshing & Mesh Conversion 0 August 3, 2007 04:28
MULTIBLOCK APPROACH KAVEH ABDOLLAHZADEH Main CFD Forum 1 November 25, 1999 17:25
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09


All times are GMT -4. The time now is 12:15.