|July 7, 2011, 15:31||
How to solve this kind of continuity equation?
Join Date: Jul 2011
Posts: 2Rep Power: 0
Hi, I am a beginner of OpenFOAM. I try to use it to solve an equation in the mathematical form of:
div [sinh(|grad(phi)|)*div(phi)/|grad(phi)|] = 0
where phi is a volScalarField, |grad(phi)| is the magnitude of grad(phi), and sinh is the hyperbolic sine. I wrote the following codes, but it does not work.
The error is: conversion from ‘Foam::tmp<Foam::GeometricField<Foam::Vector<doubl e>, Foam::fvsPatchField, Foam::surfaceMesh> >’ to non-scalar type ‘Foam::surfaceScalarField’ requested
I don’t understand this problem. Do you know how to solve above equation? Any opinion is welcome! Thanks!
|Thread||Thread Starter||Forum||Replies||Last Post|
|mass flow in is not equal to mass flow out||saii||CFX||2||September 18, 2009 08:07|
|Continuity Equation||Fernando Herrera||Main CFD Forum||3||July 18, 2008 13:41|
|How to solve equation âˆ‚^2U/âˆ‚X^2 +âˆ‚^2U/âˆ‚Y^2||V.Gnanaraj||Main CFD Forum||3||May 31, 2008 14:08|
|how to adjust continuity equation in vof???||Asghari||FLUENT||0||October 11, 2006 04:43|
|Poisson equation vs continuity equation||DJ||Main CFD Forum||1||August 5, 2004 20:01|