|
[Sponsors] |
June 6, 2012, 15:22 |
create volTensorField in rhoCentralFoam
|
#1 |
New Member
Lee
Join Date: Oct 2011
Posts: 15
Rep Power: 15 |
Hi all,
I create a volTensorFoam for gradient of U gradU in rhoCentralFoam.C as follows: ------------------ volTensorField gradU("gradU",fvc::grad(U)()); volTensorField tauMC("tauMC", mu*dev2(fvc::grad(U)().T())); // --- Solve density solve(fvm::ddt(rho) + fvc::div(phi)); --------------- I wrote my boundary condition, I call gradU for calculation as: const fvPatchField<tensor>& pgradU = patch().lookupPatchField<volTensorField, tensor>("gradU"); So i do not have problem when I compile boundary condition. But I run the case and get the error --> FOAM FATAL ERROR: request for volTensorField gradU from objectRegistry region0 failed available objects of type volTensorField are 1 ( tauMC ) How can I fix this problem? Thanks, Sung-Ki |
|
December 30, 2012, 04:36 |
|
#2 |
Senior Member
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17 |
Hi
We had the same problem, did you find any remedy to find gardU? Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[blockMesh] Include list of points | Hikachu | OpenFOAM Meshing & Mesh Conversion | 0 | June 20, 2011 10:03 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 08:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 02:07 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |