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

increasing totalPressure Inlet boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2020, 11:41
Default increasing totalPressure Inlet boundary condition
  #1
New Member
 
ATN
Join Date: Jun 2015
Posts: 5
Rep Power: 11
atenamsv is on a distinguished road
Hey everyone
At the moment i'm trying to simulate a sonic flow, with rhoCentralFoam, And it is working properly how ever i experience an instability at the inlet. The boundary condition for inlet is totalPressure, p0 6 bar, Value 6 bar.
I want to increase my initial p0 step by step, is it possible in openfoam?
I mean for example i'd like to have an initial p0 of 6 bar, but i want to start from 1 bar and increase it every 100 timesteps. I would be happy if someone can help me.
Attached Images
File Type: jpg totalP.JPG (22.1 KB, 11 views)
atenamsv is offline   Reply With Quote

Old   May 29, 2020, 04:42
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 369
Rep Power: 8
geth03 is on a distinguished road
one way to realize that is with codeStream.

https://wiki.openfoam.com/Programming1
geth03 is offline   Reply With Quote

Old   May 29, 2020, 19:13
Default
  #3
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13
HPE is on a distinguished road
Hi,

Another possibility is to modify totalPressure BC's

scalarField p0_;

to

PatchFunction1<scalar> p0_;

so that you can use Function1' ramp function.

It is not available yet - but sooner or later, the functionality you are looking for will be coded into totalPressure. You can modify it as above if you can't wait for it.

Hope this helps.
HPE is offline   Reply With Quote

Reply

Tags
rhocentrafoam, totalpressure bc


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
Acoustic boundary condition with pressure perturbation at inlet hand90 CFX 2 August 10, 2018 08:36
UDF fluent:Change boundary condition. determination inlet and outlet boundary in "t" gzamiri@gmail.com FLUENT 0 September 27, 2015 06:32
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


All times are GMT -4. The time now is 14:44.