create volTensorField in rhoCentralFoam
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 |
Hi
We had the same problem, did you find any remedy to find gardU? Regards |
All times are GMT -4. The time now is 06:07. |