|
[Sponsors] |
PotentialFoam configuration for rhoPimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 24, 2021, 06:25 |
PotentialFoam configuration for rhoPimpleFoam
|
#1 |
New Member
Join Date: Feb 2020
Posts: 6
Rep Power: 6 |
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 ) 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; } } // ************************************************************************* // |
|
|
|
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 |