CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

totalPressure Boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By klio

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 4, 2010, 05:39
Default totalPressure Boundary condition
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Dear Foamers,

we are currently struggling with the total pressure inlet BC (totalPressure). We do not fully understand the meaning of some of the require parameters in the "p"-File:
Code:
/* PRESSURE INLET */
    patchname_pressureinlet
    {
        type            totalPressure;
        p0              uniform 1.e5; /* Total pressure p0 = p + 1/2*rho*U^2 */
        U               U;
        phi             phi;
        rho             rho;/none;
        psi             psi;/none;
        gamma           1;
    }
We are not aware of the meaning of phi, rho, psi and gamma. Looking into the sources I found the following error:
Code:
        FatalErrorIn
        (
            "totalPressureFvPatchScalarField::updateCoeffs()"
        )   << " rho or psi set inconsitently, rho = " << rhoName_
            << ", psi = " << psiName_ << '.' << nl
            << "    Set either rho or psi or neither depending on the "
               "definition of total pressure." << nl
            << "    Set the unused variables to 'none'."
            << "\n    on patch " << this->patch().name()
            << " of field " << this->dimensionedInternalField().name()
            << " in file " << this->dimensionedInternalField().objectPath()
            << exit(FatalError);
We are unsure how to set phi, rho, psi and gamma "consitantly". We want to use it with the rhoSimpleFoam-solver.
  • Does it depend on the solver type? (pressure-based/density-based?).
  • However, we see differences when using the different formulations.
  • It can also be seen from the sources that calculation of the boundary values are depending on the formulation. So we need to know how to set these values.
It would be very helpful if somebody can comment on this. Thanks.
bastil is offline   Reply With Quote

 


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
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
Transient outlet boundary condition problem jwillie2000 CFX 1 December 7, 2009 17:07
Axis Boundary Condition..what is it? CFDtoy FLUENT 6 February 13, 2007 05:51
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 11:44
How to resolve boundary condition problem? sam FLUENT 2 July 20, 2003 02:19


All times are GMT -4. The time now is 22:16.