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

foam-extend 4.1 - rho boundary evaluation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2022, 04:16
Default foam-extend 4.1 - rho boundary evaluation problem
  #1
New Member
 
Join Date: Nov 2017
Posts: 1
Rep Power: 0
MarkXI is on a distinguished road
Hi everyone,


I am simulating a ideal compressible gas using dbnsTurbFoam (foam-extend 4.1) setting total pressure at the inlet. The pressure is not constant but it rises in time from the ambient value to a certain value therefore I have used timeVaryingTotalPressure as boundary condition. The solver evaluates the density at the inlet boundary using the ideal gas law


\rho=\frac{p}{RT}


but it takes as p the value written in "p0" instead of using the actual pressure value, therefore I think that the density is not correctly calculated.


inlet
{
type timeVaryingTotalPressure;
rho none;
psi none;
gamma 1.1643;
p0 5e+06;
fileName "$FOAM_CASE/constant/p0vsTime";
outOfBounds clamp;
value uniform 5e+06;
}

I would very much appreciate it if anyone knows how to resolve this issue and is willing to share a solution. Thank you
MarkXI is offline   Reply With Quote

Reply

Tags
foam-extend, timevaryingtotalpressure


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
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
Problem with SIMPLEC-like finite volume channel flow boundary conditions ghobold Main CFD Forum 3 June 15, 2015 11:14
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


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