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

PotentialFoam configuration for rhoPimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2021, 06:25
Default PotentialFoam configuration for rhoPimpleFoam
  #1
New Member
 
Join Date: Feb 2020
Posts: 6
Rep Power: 6
OisinOC is on a distinguished road
Hi,

I am trying to use potentialFoam to initialise the flow for a rhoPimpleFoam simulation but I get the following error.

Code:
--> FOAM FATAL ERROR:

    request for volScalarField thermo:psi from objectRegistry region0 failed
    available objects of type volScalarField are

4
(
div(((sqr(U)|(magSqr(U)+(1e-015*average(magSqr(U)))))&convection(phi,U)))
Phi
magSqr(U)
p
)
From reading other posts I think it relates to the thermosi present in waveTransmissive boundary from the p initial conditions file and that I need to use one of the four options it has suggested but I'm not sure how to implement it and be confident I've not impacted the rhoPimpleFoam model. I started with the LES Pitzdaily tutorial for rhoPimpleFoam in case that is relevant.

Could anyone explain how to fix this potentialFoam error? Or do I need to create a separate model to initialise the flow and then copy the solutions latest time files into the 0 directory for the rhoPimpleFoam?


Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -1 -2 0 0 0 0];

internalField   uniform 1e5;

boundaryField
{
    inlet
    {
        type            zeroGradient;
    }
    outlet
    {
        type            waveTransmissive;
        psi             thermo:psi;
        gamma           1.3;
        fieldInf        1e5;
        lInf            0.3;
        value           $internalField;
    }
    wall
    {
        type            zeroGradient;
    }
    defaultFaces
    {
        type        zeroGradient;
    }
}

// ************************************************************************* //
OisinOC is offline   Reply With Quote

Reply


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
CFD workstation configuration calling for help 2 Freewill1 Hardware 6 July 8, 2020 22:17
[OpenFOAM.org] Cannot open configuration file mpicc-wrapper-data.txt mpicc: Not found wenjuny OpenFOAM Installation 0 November 25, 2019 10:01
OpenFOAM v4.1 - farfield bc potentialFoam jeytsav OpenFOAM Running, Solving & CFD 0 November 23, 2016 10:06
potentialFoam doesnt start?! Sway OpenFOAM Running, Solving & CFD 0 July 2, 2015 08:48
Multiple Configuration Simulation Tristan CFX 0 November 14, 2009 00:01


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