|
[Sponsors] |
August 20, 2006, 19:08 |
Is it possible to take the Lag
|
#1 |
Member
Shaun Cooper
Join Date: Mar 2009
Posts: 54
Rep Power: 17 |
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 |
|
August 21, 2006, 02:43 |
Sorry for stating the obvious,
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
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
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get a second derivative in udf? | demigod | Fluent UDF and Scheme Programming | 8 | September 28, 2015 04:38 |
Second derivative | braennstroem | OpenFOAM Running, Solving & CFD | 1 | November 21, 2007 13:15 |
Derivative | J.Y.Shin | FLUENT | 0 | February 5, 2007 01:34 |
Derivative and double-Derivative for steep functio | Kali Sanjay | Phoenics | 1 | March 27, 2006 08:51 |
second derivative in udf | dirk | FLUENT | 0 | June 8, 2005 13:56 |