How to solve this kind of continuity equation?
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!
|All times are GMT -4. The time now is 12:32.|