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/)
-   -   CoEuler temporal scheme (http://www.cfd-online.com/Forums/openfoam-solving/68422-coeuler-temporal-scheme.html)

cnsidero September 18, 2009 19:40

CoEuler temporal scheme
 
Anyone had any luck using the CoEuler (local timestepping) temporal scheme?

I managed to figure out what parameters it needs in fvSchemes. i.e.

CoEuler (mass flux var) (density var) (max Courant number)

but I get the following error when I start the calculation:

Unsupported temporal differencing scheme : CoEuler
on patch outflow of field p in file "./airfoil/0.00992002/p"

From function advectiveFvPatchField<Type>::updateCoeffs()
in file fields/fvPatchFields/derived/advective/advectiveFvPatchField.C at line 265.

I took a look in the above source file but it looks like a major change would be necessary to get CoEuler to work.

I'm just using fixedValue derived type boundary conditions for the pressure. Is there some caveat about getting CoEuler thats not obvious?

podallaire September 18, 2009 21:21

you could try something like ... :

default CoEuler phi maxCo 0.5;

Good luck

PO

cnsidero September 19, 2009 10:42

Quote:

Originally Posted by podallaire (Post 229890)
you could try something like ... :

default CoEuler phi maxCo 0.5;

Good luck

PO

Not to be rude but I stated in the first post that I understood what parameters to use fvSchemes - thats not my problem if you read the error. Plus there is no volScalarField called "maxCo" - I read the source file and its looking for a density field.

It has to do with the CoEuler not being support in the boundary conditions.

Anyone else have an ideas?


All times are GMT -4. The time now is 12:41.