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

Pressure field values from the previous iteration?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 5, 2014, 07:46
Default Pressure field values from the previous iteration?
  #1
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Prague, Czech Republic
Posts: 60
Rep Power: 5
petr.f. is on a distinguished road
Dear Foamers,

I'd like to damp oscillations in pressure produced as a side-effect of a custom boundary condition. Hence I need values of pressure from the actual as well as the previous iteration. Is there a way how to get them from the body of the boundary condition?

Thanks a lot for response in advance.
petr.f. is offline   Reply With Quote

Old   June 6, 2014, 10:30
Default
  #2
Member
 
Petr Furmanek
Join Date: Jan 2012
Location: Prague, Czech Republic
Posts: 60
Rep Power: 5
petr.f. is on a distinguished road
OK, this problem is solved - by adding private member to this boundary condition class for storing the pressure value (as I'm using average pressure value end hence not need the whole field)...
petr.f. 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
Pressure BC for combustion chamber Giuki FLUENT 1 July 19, 2011 11:35
Huge negative pressure after first iteration using rhoPorousSimpleFoam md_lieber OpenFOAM Running, Solving & CFD 4 July 18, 2010 20:45
How to read pressure at discrete points paka OpenFOAM 15 July 21, 2008 05:03
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13
Using SIMPLE david Main CFD Forum 5 July 21, 1999 02:38


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