|
[Sponsors] |
![]() |
![]() |
#21 | |
Member
Edward Leonard
Join Date: May 2012
Location: Calumet, MI
Posts: 31
Rep Power: 15 ![]() |
Quote:
I've taken a few whacks at it and my lack of FVM, I think, is making me miss some obvious connection. Many thanks to whomever is able to assist me! Edit: Nevermind. Figured it out. Odd way, though it works. Last edited by iamed18; June 15, 2012 at 09:47. Reason: added definition of [MATH]\phi[/MATH], figured it out. |
||
![]() |
![]() |
![]() |
![]() |
#22 |
Member
Join Date: Oct 2015
Location: montreal- canada
Posts: 46
Rep Power: 11 ![]() |
Hi
How to implement .oldTime(); after writing volScalarField in chtMultiregionFoam? When i do that it gives this error: class Foam::PtrList<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >’ has no member named ‘oldTime’ |
|
![]() |
![]() |
![]() |
![]() |
#23 |
Member
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 8 ![]() |
Hi Dear Former's
I'm going to Add temperature Equation to viscoelasticFluidFoam solver. there is material derivative term of log(T)(screenshot attached) in the constitutive equation(I.e in this case Olroyd-B) kindly any could guide me how to erite the that term in OldoydB.C file I write it like fvm::ddt(tau_,logT) + fvc::div(phi()*tau_,logT) Note:change to fvc and fvm respectively but getting same error's.(scrrenshot Attached) regards Idrees khan |
|
![]() |
![]() |
![]() |
![]() |
#24 |
Member
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 8 ![]() |
Hi Dear Former's
I'm going to Add temperature Equation to viscoelasticFluidFoam solver. there is material derivative term of log(T)(screenshot attached) in the constitutive equation(I.e in this case Olroyd-B) kindly any could guide me how to erite the that term in OldoydB.C file I write it like fvm::ddt(tau_,logT) + fvc::div(phi()*tau_,logT) Note:change to fvc and fvm respectively but getting same error's.(scrrenshot Attached) regards Idrees khan |
|
![]() |
![]() |
![]() |
![]() |
#25 |
Member
idrees khan
Join Date: Jun 2019
Posts: 36
Rep Power: 8 ![]() |
Hi Dear Former's
I'm going to Add temperature Equation to viscoelasticFluidFoam solver. there is material derivative term of log(T)(screenshot attached) in the constitutive equation(I.e in this case Olroyd-B) kindly any could guide me how to erite the that term in OldoydB.C file I write it like fvm::ddt(tau_,logT) + fvc::div(phi()*tau_,logT) Note:change to fvc and fvm respectively but getting same error's.(scrrenshot Attached) regards Idrees khan |
|
![]() |
![]() |
![]() |
Tags |
ddt, lagrangian derivative |
Thread Tools | Search this Thread |
Display Modes | |
|
|