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

discontinous pressure at the corners of a nozzle simulation (simpleFoam)

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2011, 08:46
Default discontinous pressure at the corners of a nozzle simulation (simpleFoam)
  #1
New Member
 
Sven
Join Date: Feb 2010
Posts: 4
Rep Power: 7
svchb is on a distinguished road
I had some problems with a much more complicated simulation so I started simplifying my mesh and setup until I ended up at a steady laminar incompressible flow...
Anyway this doesn't work and i am probably forgetting something stupid... but i am trying around for hours now...
So any help is appreciated!

So my problem is that i get extreme pressure values at the corners of my inlet... The velocity field looks okish for something with such a messed up pressure distribution...

So to my current setup:
solver: simpleFoam

RASProperites
RASModel laminar;
turbulence off;

transportProperties
rho 0.524;
nu 62.53;

p
internalField uniform 193368;
wall zeroGradient;
outlet fixedValue 193368;
inlet fixedValue 193368;

U
internalField uniform (0 0 0)
wall fixedValue (0 0 0)
outlet zeroGradient
inlet flowRateInletVelocity flowrate 0.615 value uniform (0 0 0)
svchb is offline   Reply With Quote

Old   October 13, 2011, 14:49
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
change inlet pressure from fixedValue into zeroGradient, i guess it would solve ur problem
nimasam is online now   Reply With Quote

Old   October 14, 2011, 02:52
Default
  #3
New Member
 
Sven
Join Date: Feb 2010
Posts: 4
Rep Power: 7
svchb is on a distinguished road
i tried that... it's divergent...

and i know why ... the flowRateInletVelocity bc forces a parallel flow with constant velocity... locally the pressure increase approaches infinity because the wall bc "no slip" condition forces the velocity to reduce to zero at the wall...
because of the geometry the fd becomes unstable and the system is generating energy... so to lose energy again the system is going into a negative pressure to get to the energy state that is enforced by the outlet bcs... the velocity is not affected as much because of mass conservation...
svchb is offline   Reply With Quote

Old   October 15, 2011, 02:20
Default
  #4
New Member
 
Sven
Join Date: Feb 2010
Posts: 4
Rep Power: 7
svchb is on a distinguished road
oh well you are obviously right...
there needs to be some pressure increase between the inlet and the outlet
changed that to a fixed pressure after the convergence problems...
which were caused by the discontinuies and the zero gradient pressure bc at the inlet, which lets the pressure of the inlet approach infinity...

I switched to directMapped BCs, changed the mesh and the inlet to zero gradient pressure works as long as i don't get into the temperature range i actually require for my simulation... becomes unstable except if i refine the mesh two times... which then takes forever to converge so i need to tweak around even more... (works for Re<5000 unrefined...)
svchb is offline   Reply With Quote

Reply

Tags
nozzle, simplefoam

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
Pressure calc for M6 simulation steve1 Main CFD Forum 0 June 19, 2010 19:14
compressible flow in a counterflow nozzle d.vamsidhar FLUENT 0 November 24, 2005 02:45
Total pressure in a laval nozzle Sohail Ahmed FLUENT 0 May 19, 2004 05:28
stagnation pressure in transient flow simulation K.S.Ravichandran Main CFD Forum 2 September 5, 2000 00:34
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 13:58.