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

Export to ensight!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2000, 05:10
Default Export to ensight!
  #1
Anders Jönson
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
  Reply With Quote

Old   January 17, 2000, 07:55
Default Re: Export to ensight!
  #2
Joern Beilke
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.
  Reply With Quote

Old   March 29, 2000, 06:03
Default Re: Export to ensight!
  #3
philip
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"

}

================================================== ==========
  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
ensight batch export Fabian FLUENT 1 November 20, 2005 13:44
Ensight export Fred Siemens 0 September 12, 2005 04:22
EXPORT ENSIGHT TRANSIENT Aris FLUENT 0 December 12, 2004 12:50
Export ccm+to fieldview or Ensight? li xinfeng Siemens 2 September 10, 2004 15:43
Proam export to Ensight Flav Siemens 0 May 2, 2002 09:32


All times are GMT -4. The time now is 03:46.