|
[Sponsors] |
January 17, 2000, 06:10 |
Export to ensight!
|
#1 |
Guest
Posts: n/a
|
Hi everyone,
I have a question about the built in capability to export the results from StarCD to Ensight format. When I use this command I always get everything as one huge part in Ensight, i.e. I don't get separate parts for different walls, fluids etc. Any input on this? Regards Anders |
|
January 17, 2000, 08:55 |
Re: Export to ensight!
|
#2 |
Guest
Posts: n/a
|
ENSIGHT, LF(case.GEO) (READ ONLY) ENSIGHT, OPTION (WRITE ONLY) Reads geometry data or writes out geometry and/or post data in a form which can be read by the Ensight post-processing visualization program. Post data can be either cell, vertex, boundary or wall data. A typical sequence of commands to write data might be:
cset news type 1 setwrite case.set cset invert setwrite case.set load case.pst ensi root mymodel ensi form bina ensi all cell case.set ensi done The "setwrite" comand is used for this purpose. |
|
March 29, 2000, 07:03 |
Re: Export to ensight!
|
#3 |
Guest
Posts: n/a
|
If you bring the parts into Prostar from ICEM then the names of the family are stored in the cell table name. I have an awk script that writes a prostar script to write out results in ensight format grouped by these wall names. If you have written out a part from icem with a name of bert then you get a bert.inp file. If you
awk -f icem2ensi.awk bert.inp you get ensi.inp ifile ensi.inp in prostar when you have a result LOADed. Regards Philip File icem2ensi.awk follows: ================================================== ========== BEGIN {casename=ARGV[1] gsub(".inp",""i,casename) print "setd,"casename".set,all" > "ensi.inp" print "cset news fluid" > "ensi.inp" print "setw,"casename".set,fluid_domain,last" > "ensi.inp" } { # make up a script that groups cells into sets by name if (substr($0,0,6)=="ctname") { gsub(","," ") print "cset news name",$3 > "ensi.inp" print "setw,"casename".set,"$3,"last" > "ensi.inp" } } END {print "direction write" > "ensi.inp" print "ensi root" > "ensi.inp" print casename > "ensi.inp" print "ensi form bina" > "ensi.inp" print "ensi all vert "casename".set" > "ensi.inp" print "ensi done" > "ensi.inp" } ================================================== ========== |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ensight batch export | Fabian | FLUENT | 1 | November 20, 2005 14:44 |
Ensight export | Fred | Siemens | 0 | September 12, 2005 05:22 |
EXPORT ENSIGHT TRANSIENT | Aris | FLUENT | 0 | December 12, 2004 13:50 |
Export ccm+to fieldview or Ensight? | li xinfeng | Siemens | 2 | September 10, 2004 16:43 |
Proam export to Ensight | Flav | Siemens | 0 | May 2, 2002 10:32 |