|
[Sponsors] |
October 26, 2009, 14:34 |
trouble with totalTemperature BC
|
#1 |
New Member
Paul Garlick
Join Date: Mar 2009
Location: Bournemouth, UK
Posts: 27
Rep Power: 17 |
I am using OF1.5 and rhopSonicFoam for a compressible external flow case. On the far field boundary I would like to apply a totalTemperature boundary condition:
topBoundary { type totalTemperature; T0 uniform 300; U U; phi phi; psi psi; gamma 1.4; value uniform 300; } I find that solver aborts with the following message: request for volVectorField U from objectRegistry region0 failed available objects of type volVectorField are 0 ( ) I have found that a totalPressure boundary condition (with fixedValue for T) runs for a short time before inflow leads to rapid divergence. In the source files for totalPressure and totalTemperature I see that the vector field for velocity is accessed in a different way in each case: For totalTemperatureFvPatchScalarField.C: const fvPatchVectorField& Up = patch().lookupPatchField<volVectorField, vector>(UName_); For totalPressureFvPatchScalarField.C: void totalPressureFvPatchScalarField::updateCoeffs() { updateCoeffs(patch().lookupPatchField<volVectorField, vector>(UName_)); } Can anyone explain why the former BC fails and the latter succeeds; and even suggest a solution? Many thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GAMBIT] Trouble meshing complex VOF geometry | RPJones | ANSYS Meshing & Geometry | 2 | February 14, 2011 18:54 |
Finned Pipe Trouble | fabioxyz | CFX | 8 | August 31, 2009 02:20 |
trouble with squeezing mesh | adrianahscott | OpenFOAM Running, Solving & CFD | 0 | August 29, 2009 07:25 |
Epsilon Convergence Trouble | Carlos | FLUENT | 4 | August 27, 2007 11:22 |
Could anybody help the trouble of the modifying the U | liugx212 | OpenFOAM Running, Solving & CFD | 2 | February 27, 2006 10:23 |