CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Lagrangian Derivative (http://www.cfd-online.com/Forums/openfoam-solving/60066-lagrangian-derivative.html)

coops August 20, 2006 18:08

Is it possible to take the Lag
 
Is it possible to take the Lagrangian derivative of a volVectorField (U) and (in a seperate equation) also a volScalar Field (T)? At the moment when I try to use these I get the following errors:

fvc::DDt(U) + ....

error: no matching function for call to 'DDt(Foam::volVectorField&)'

and for T:

fvc::DDt(T)+....

error: no matching function for call to 'DDt(Foam::volScalarField&)'

If it is not possible can anyone suggest a solution?

Thanks in advance,

Shaun

hjasak August 21, 2006 01:43

Sorry for stating the obvious,
 
Sorry for stating the obvious, but the substantial derivative requires a velocity field, right? Therefore in order to evaluate it, fvc:: (or fvm:: for that matter), needs access to the fluxes - that's why you need to arguments. Have a look at fvcDDt.H for the list of available function signatures.

Hrv


All times are GMT -4. The time now is 10:17.