CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

mapFields continuity error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 24, 2014, 16:58
Default mapFields continuity error
  #1
New Member
 
Wouter
Join Date: Aug 2013
Posts: 19
Rep Power: 5
wouterremmerie is on a distinguished road
Hi all,

I would like to use the mapFiels feature to speed up calculations:
the flow around a fan or propeller needs a fine mesh, but in the end I'm only interested in the resulting flow. I would therefore cut out the propeller and only use its resulting speed & pressure field to calculate the flow in the rest of the domain.

Works in other software packages and could be done in OpenFOAM I think, using the mapFiels utility. This feature is used in the official cavity tutorial:
http://www.openfoam.org/docs/user/ca...#x5-350002.1.9
There they cut out a part of the geometry and the pressure and velocity fields are mapped onto the new, smaller domain. Works fine when you first reset the velocity on the walls to 0, which of course results in a zero net flux in or out of the domain --> no continuity error.

However, when you do not set the velocity to zero, continuity should still be ok, as you copy the results from an existing solution. But doing so (following the exact same steps of the tutorial except for the speed reset on the walls) leads to the following error:

Continuity error cannot be removed by adjusting the outflow.
Please check the velocity boundary conditions and/or run potentialFoam to initialise the outflow.
Total flux : 0.00433393
Specified mass inflow : 6.02285e-05
Specified mass outflow : 6.34605e-05
Adjustable mass outflow : 0

My guess is that the copying of velocity values is not performed exact enough and that leads to the small difference in mass inflow and outflow. But how could that be solved?

I'm thinking of maybe creating a small inlet/outlet patch in the domain, so that the solver can use that one to equalize the flow, but there should be a cleaner solution!

Does anyone have an idea?

Many thanks in advance for the help!

Regards,

Wouter.
wouterremmerie 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
blockMesh with double grading. spwater OpenFOAM Native Meshers: blockMesh 86 October 20, 2016 14:01
error compiling modified applications yvyan OpenFOAM Programming & Development 21 March 1, 2016 05:53
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 08:27.