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

How to map results from one modle into another mod

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2003, 07:09
Default How to map results from one modle into another mod
  #1
Lee
Guest
 
Posts: n/a
I want to set up two models,and I want to use the results of the first model as the initiation of the second model,i.e.,the outlet result of the first model=>the inlet parameter of the second model.

How can I do it?

Thank you very much for your kind help!

Lee
  Reply With Quote

Old   June 11, 2003, 08:02
Default Re: How to map results from one modle into another
  #2
4xF
Guest
 
Posts: n/a
Hmmm... That's not so obvious. The only possibility I know is: 1) create shells in the second model that are defined on the inlet boundary. 2) export these shells with the VWRITE command (for vertices) and CWRITE command (for cells). 3) Read them in the 1st model with the VREAD and CREAD commands (use the offsets!!!) for vertices and cells resp. 4) Use PMAP to map the solution on these shells. Data is now stored in the post-registers. Get also the cell face center coordinates loaded into the empty post-registers with for example the OPER,GETC,X command (stores the X-coordinate). 5) Use the panel Save User Data in the Post menu for saving the data to a file. 6) Implement a user subroutine for your second model, for instance bcdefi.f, to check for the shell position in the save data file and get the corresponding mapped value you need for running your second model.
  Reply With Quote

Old   June 11, 2003, 09:48
Default Re: How to map results from one modle into another
  #3
Joern Beilke
Guest
 
Posts: n/a
It is also possible to generate a boundary region for every of these shells and convert the mapped values into a boundary definition.

Another option is the use of a table for the input values.

  Reply With Quote

Old   June 11, 2003, 11:36
Default Re: How to map results from one modle into another
  #4
Vladimir Krejci
Guest
 
Posts: n/a
Hi Lee, if I understood and you want to use results of one simulation as initial guess for another simulation go for utility/solution mapping (or type 'help smap' in output window). The mapping procedure is also described in user guide manual (look for smap command). Otherwise previous messages apply.

Hope it helps.
  Reply With Quote

Old   June 12, 2003, 07:43
Default Re: How to map results from one modle into another
  #5
4xF
Guest
 
Posts: n/a
Good luck if you have more than, say 20, boundary faces. The table may be useful if the inlet boundary is planar (because of the need of defininf a local coordinate system and use the related X and Y locations).
  Reply With Quote

Old   June 12, 2003, 08:23
Default Re: How to map results from one modle into another
  #6
Joern Beilke
Guest
 
Posts: n/a
Why "good luck"? It just requires some lines of coding (perl, fortran, ...) and you dont have to touch a single face by hand
  Reply With Quote

Old   June 13, 2003, 00:39
Default Re: How to map results from one modle into another
  #7
CJ Tune
Guest
 
Posts: n/a
I don't think you need to convert each shell into a separate boundary region. Just use the supplied BCDEFP.F or whatever and modify it to assign interpolated values from the old model's boundary region values saved as a text file (value vs XYZ).
  Reply With Quote

Old   June 20, 2003, 04:40
Default Re: How to map results from one modle into another
  #8
Jing
Guest
 
Posts: n/a
If you know the cell number mapping relation between the outlet of Model 1 and the inlet of Model 2, you can output the flow field parameter on the outlet in the model 1 by user subroutine POSDAT.f and read it in the model 2 as the inlet boundary by the corresponging user subrouine.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
how to convert 3d results in 2D results Ben CFX 1 February 18, 2009 16:42
3D from axisymmetric results pongup FLUENT 1 June 22, 2008 09:13
XY results coolpan FLUENT 1 April 16, 2008 06:20
DPM: Odd Results? Steve FLUENT 0 July 18, 2005 16:02
plotting results claudia CFX 4 March 4, 2003 17:27


All times are GMT -4. The time now is 20:19.