|
[Sponsors] |
How to map results from one modle into another mod |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 9, 2003, 07:09 |
How to map results from one modle into another mod
|
#1 |
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 |
|
June 11, 2003, 08:02 |
Re: How to map results from one modle into another
|
#2 |
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.
|
|
June 11, 2003, 09:48 |
Re: How to map results from one modle into another
|
#3 |
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. |
|
June 11, 2003, 11:36 |
Re: How to map results from one modle into another
|
#4 |
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. |
|
June 12, 2003, 07:43 |
Re: How to map results from one modle into another
|
#5 |
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).
|
|
June 12, 2003, 08:23 |
Re: How to map results from one modle into another
|
#6 |
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
|
|
June 13, 2003, 00:39 |
Re: How to map results from one modle into another
|
#7 |
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).
|
|
June 20, 2003, 04:40 |
Re: How to map results from one modle into another
|
#8 |
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.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |