CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Restructure OpenFoam results?!

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 18, 2013, 10:04
Default Restructure OpenFoam results?!
  #1
Senior Member
 
Join Date: Dec 2010
Posts: 135
Rep Power: 6
eRzBeNgEl is on a distinguished road
Hi guys,

is there an option to restructure OF results to an structured Mesh?


My mesh is structured and OF is solving it unstructured. I want to reconstruct the data to structured level. Is there an option?


Another workaround I am thinking about is


Loading structured Mesh with matlab and interpolate the OF results on this mesh. The structured Mesh is the same OF is solving on. So there should be no interpolation losses. Am I right?
eRzBeNgEl is offline   Reply With Quote

Old   November 20, 2013, 05:21
Default
  #2
Senior Member
 
Join Date: Dec 2010
Posts: 135
Rep Power: 6
eRzBeNgEl is on a distinguished road
noBody has an idea?
eRzBeNgEl is offline   Reply With Quote

Old   November 20, 2013, 07:54
Default
  #3
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,089
Blog Entries: 6
Rep Power: 19
Tobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi

you want to map the solution out of an unstructured mesh into a structured mesh, correct?

If yes you should use the tool "mapFields"
Tobi is offline   Reply With Quote

Old   November 20, 2013, 12:25
Default
  #4
Senior Member
 
Join Date: Dec 2010
Posts: 135
Rep Power: 6
eRzBeNgEl is on a distinguished road
Hi Tobi,

yes this would solve my problem.


The structured mesh is saved in cgns format structured.


And I have my OF results - used exact the same mesh for simulation - converted the mesh in openFoam Mesh before.


Is it possible to interpolate with mapFieldFunction of OpenFoam to a different mesh format?
Do not think so....
eRzBeNgEl is offline   Reply With Quote

Old   November 23, 2013, 06:04
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@eRzBeNgEl: If you are able to import the structured mesh to ParaView, you can use it to interpolate the data from one mesh to the other, as explained here: Mapping in ParaView - problem is what will you be able to do with the results in VTK format...

As for importing CGNS mesh format to OpenFOAM, there is a wiki page on this topic: http://openfoamwiki.net/index.php/Si...GNS_Converters

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   November 25, 2013, 05:26
Default
  #6
Senior Member
 
Join Date: Dec 2010
Posts: 135
Rep Power: 6
eRzBeNgEl is on a distinguished road
Thanks Bruno,

i already solved it by using python. Same procedure as you suggested, interpolating is the only way for me at the moment (of course with no losses in physics*g*)
eRzBeNgEl is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a tool to interpolate results Luis Batista OpenFOAM Running, Solving & CFD 2 April 11, 2013 08:15
Memory protection in OpenFOAM / combinig with FORTRAN botp OpenFOAM Programming & Development 1 February 6, 2013 05:26
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25
OpenFOAM 141 parallel results infiniband vs gigabit vs SMP msrinath80 OpenFOAM Running, Solving & CFD 10 November 30, 2007 19:11
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33


All times are GMT -4. The time now is 04:00.