Describing div terms in fvSchemes
Hi FOAMers, I have a solver with this code:
Code:
fvVectorMatrix UEqn Code:
--> FOAM FATAL IO ERROR: Code:
divSchemes Quote:
Regards. |
The divergence schemes in fvSchemes apply to convective terms like fvm::div(phi, X), but your term in the equation seems to be a simple explicit divergence of a scalar field, so why not just write it in the following way?
Code:
fvVectorMatrix UEqn |
Anton, I took this notation from settlingFoam, but on the other hand I'd tried you suggested with same results:
Code:
fvVectorMatrix UEqn Code:
--> FOAM FATAL IO ERROR: Quote:
|
Ah, you are right, looking at fvcDiv.* it is indeed possible to name even an explicit term and force usage of a certain divergence scheme instead of plainly calling surfaceIntegrate. I'm sorry I don't really have other ideas what could cause the problem. Hopefully someone else will notice this thread and have an answer.
|
Anton, the correct entry in fvSchemes is:
Code:
divSchemes Regards. |
All times are GMT -4. The time now is 02:24. |