CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Export the velocity field to reuse it in a different simulation

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2016, 09:03
Exclamation Export the velocity field to reuse it in a different simulation
New Member
Max Vorstadt
Join Date: May 2016
Posts: 24
Rep Power: 6
jet_engine is on a distinguished road
Hi! I have a quite simple geometry designed with a blockMesh and a flow simulated with simpleFoam by now. What I'd like to do is to "cut" the geometry at a specific z value (as can be seen in the image), and extract the different fields (p, U, k, w, ...) from this plane so I can use them as inlet BCs for a second simulation in which this plane would be the inlet (cutting literally the geometry, you can imagine the second case as just the same "box" without the part at the left).

In my blockMesh dict I have just specified a single block. Therefore, the specified plane (for example, at z=0.2) is NOT a patch, wall or anything, is just part of the internal field between the inlet and the outlet. I expect to do this without the need of defining more blocks, but if it was the only way... I would consider it.

By now, the only thing that I have found is the mapFields utility, but I am not sure whether it would be useful for this case or not.

I would really appreciate to know which documents/elements I should change or add since I am quite new to openFoam and some commands are not clear enough yet to me. Thanks in advance!
Attached Images
File Type: png blockMesh_generic.png (106.5 KB, 11 views)
jet_engine is offline   Reply With Quote

Old   September 9, 2016, 05:54
New Member
Join Date: Feb 2016
Location: Birmingham
Posts: 13
Rep Power: 6
gggiulio is on a distinguished road
Have you managed to go through this? I have a similar problem... Using mapfields to initialise a new simulation from a velocity field calculated using different settings...
All the best,
gggiulio is offline   Reply With Quote


bcs, inlet, mapfields, openfoam, plane

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
[swak4Foam] Engine-pressure BC and velocity field (groovy) Tobi OpenFOAM Community Contributions 3 October 15, 2018 15:09
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
Steady simulation does not iterate in Time=1 agustinvo OpenFOAM Running, Solving & CFD 3 November 19, 2015 05:57
Unable to install OpenFOAM 1.6-ext Maimouna OpenFOAM Installation 23 May 8, 2014 06:47
velocity profile export from a simulation onto another sudhirlv STAR-CCM+ 1 September 12, 2010 19:57

All times are GMT -4. The time now is 17:45.