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

Setfields inoutlet and water and air patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2008, 09:40
Default dear all, i have, using block
  #1
erik023
Guest
 
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, 11:05
Default Hi Erik Have you tried to s
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
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,

Niels
__________________
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

Reply


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
Problem about setFields williamscn OpenFOAM Pre-Processing 23 December 9, 2018 01:15
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
[Gmsh] How to define these patches zhoubinwx OpenFOAM Meshing & Mesh Conversion 6 September 15, 2008 09:52
Regarding setFields file 21kalee OpenFOAM Running, Solving & CFD 0 January 14, 2008 06:42


All times are GMT -4. The time now is 23:01.