CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Setfields inoutlet and water and air patches

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

LinkBack Thread Tools Display Modes
Old   September 29, 2008, 08:40
Default dear all, i have, using block
Posts: n/a
dear all,
i have, using blockMesh, created a domain which has separate in/outlet for water and for air. then, using snappyhexmesh, i placed a boat in my domain (3D) and now i like to let water flow in/out through my waterpatches. when using interFoam it explodes. i get the impression that after filling the bottom part of the domain with water (modifiing the dambreak case for interfoam) i get air (or what?) to flow in to my domain. is there a way to specifiy that i like water to flow in to my lower patch and air in to the upper patch?
is it clear what i try to do?
  Reply With Quote

Old   September 29, 2008, 10:05
Default Hi Erik Have you tried to s
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,757
Rep Power: 29
ngj will become famous soon enoughngj will become famous soon enough
Hi Erik

Have you tried to set the value of gamma on the specific patches to the value you want, e.g. on water-inlet set gamma to

type fixedValue;
value uniform 1;

Best regards,

Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote


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
Problem about setFields williamscn OpenFOAM Pre-Processing 18 August 28, 2017 07:42
SetFields runs with no errors but doesnbt change fields adamsview OpenFOAM Pre-Processing 3 December 12, 2014 22:03
InterDyMFoam and problem with setFields chris_sev OpenFOAM Running, Solving & CFD 1 March 23, 2009 22:23
How to define these patches zhoubinwx Open Source Meshers: Gmsh, Netgen, CGNS, ... 6 September 15, 2008 08:52
Regarding setFields file 21kalee OpenFOAM Running, Solving & CFD 0 January 14, 2008 06:42

All times are GMT -4. The time now is 03:24.