|
[Sponsors] |
June 10, 2013, 10:15 |
mapFields between two differents solvers
|
#1 |
New Member
Lorris
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Hello everyone
First of all, thanks for all the help your forum already provided me on my numerous researches, but I did not found answer on this particular case so I have to ask you. I used a steady solver (simpleFoam) on a complex geometry and it gave me values at the outlet of this geometry. After this outlet, the fluid enter in a chamber full of gaz. So now I have the outlet values from simpleFoam and I want to have the behavior of the fluid in the chamber with a transient multiphase solver (interFoam). I want to use mapFields in order to copy the values of speed and pressure from the outlet of the first geometry to the inlet of the new one. But I have two problems :
|
|
June 10, 2013, 15:05 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Lorris,
mapFields won't help you on this one. They are two completely different meshes. The closest I know of that can help you is to use the method on the tutorial "incompressible/simpleFoam/pitzDailyExptInlet". Study the boundary conditions in "0" and the folder "constant/boundaryData" and you'll see that it maps out completely the values that enter in the inlet. In theory, you'll have to sample the data from the first case, by using the points from the second case, for the same connecting patch. This can be done either with sample or ParaView. The other possibility is to use swak4Foam... but I can't remember if this can be done with funkySetFields or if it's doable directly with groovyBC... Best regards, Bruno
__________________
|
|
June 11, 2013, 08:21 |
|
#3 |
New Member
Lorris
Join Date: Feb 2013
Posts: 4
Rep Power: 13 |
Thank you very much for your answer !
I succeded in the extraction of fields from my first geometry with sample however I'm not sure to perfectly understand the timeVaryingMappedFixedValue BC from the pitzDailyExptInlet case, especially the offset value. Is that one way to match the coordinate of the first geometry to the second one ? Thanks for your clear help. |
|
June 16, 2013, 12:51 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Lorris,
What I meant was the following:
Nonetheless, you might want to have a good long read at the following thread: http://www.cfd-online.com/Forums/ope...g-utility.html - it discusses something similar to what you want to do. Best regards, Bruno
__________________
|
|
Tags |
interfoam, mapfields, simplefoam, solvers |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Solid Mechanics Solvers added to OpenFOAM Extend | bigphil | OpenFOAM Announcements from Other Sources | 26 | October 12, 2017 05:01 |
implementation of mapFields into parallel transient case | simpomann | OpenFOAM Pre-Processing | 4 | August 2, 2016 05:41 |
Possible turbulence modelling bug in SRF solvers | otm | OpenFOAM Running, Solving & CFD | 3 | May 29, 2012 05:03 |
network comms amg solvers | bob | Main CFD Forum | 0 | March 1, 2007 20:58 |
PHOENICS Solvers | Hu | Phoenics | 0 | June 28, 2002 08:37 |