|
[Sponsors] |
February 25, 2013, 04:04 |
Mapping fields between different programs
|
#1 |
Member
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 13 |
Hi guys, I have this question:
I have to import the velocity and pressure field from another program (STAR CCM+), and I need to use these fields as inlet condition on my case, which has the same geometry (in terms of body and patches) of the case run in STAR, but a different volume mesh (which is made with ANSA). Is there a way to interpolate those fields in order to use them with OpenFOAM? I heard about the utility mapFields, to be used with different solvers inside OF, but I don't know if it can be used also between different programs. Thank you for your replies! Simone |
|
February 25, 2013, 08:52 |
|
#2 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
You may want to take a look at MPCCI - not sure how relevant it is, though
|
|
February 25, 2013, 17:56 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I'll quote myself from the other day, because it seems to fit quite nicely: Quote:
Best regards, Bruno
__________________
|
||
February 26, 2013, 02:41 |
|
#4 |
Member
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 13 |
Thanks for your answer Bruno, it's a starting point for sure. But I have (maybe) a little problem, which is linked to the fact that also the inlet patch from which I extract the data in STAR has a different grid (and so different nodes) with respect to the one that will be used in ANSA. The file "points" in your example has generic coordinates or maybe those points are exactly the nodes of the inlet? This could be the answer..
|
|
February 26, 2013, 04:16 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
You could probe/sample/interpolate the points on the original mesh...
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fvMeshSubset and labelHashSet: mapping fields between the meshes | Arnoldinho | OpenFOAM Programming & Development | 1 | February 19, 2012 09:05 |
moving domain, interFoam and mapping fields | pablodecastillo | OpenFOAM Programming & Development | 1 | April 23, 2011 14:45 |
PostChannel | maka | OpenFOAM Post-Processing | 5 | July 22, 2009 09:15 |
MultiDirRefinement class Bug on mapping fields | zurdo | OpenFOAM Bugs | 12 | December 17, 2007 04:54 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 08:19 |