|June 18, 2007, 06:20||
Hi there, In 1.3, in a boun
Join Date: Mar 2009
Posts: 100Rep Power: 8
In 1.3, in a boundary condition, I was doing:
const fvPatch& p = patch();
const volScalarField& c = db().lookupObject<volscalarfield>("C1");
scalarField phic = patchField<surfacescalarfield,>(fvc::meshPhi(c));
to get the flux caused by mesh motion through a surface. That worked.
In 1.4, I had to change first to patch().patchfield .... and so on,
but then still get an error
no matching function for call to 'meshPhi(const Foam::GeometricField<double,>&)'
Does it mean there is no way to calculate the flux of a scalar quantity by meshPhi anymore, for some reason?
Or is there another recommended way?
Thank you very much for any hint!
|Thread||Thread Starter||Forum||Replies||Last Post|
|Scalar Field Residual||dak81||OpenFOAM Running, Solving & CFD||3||February 13, 2008 02:48|
|Mesh refinemt by scalar field||zurdo||OpenFOAM Mesh Utilities||3||January 9, 2008 06:15|
|Calculated Values in scalar field||arkangel||OpenFOAM Running, Solving & CFD||0||June 28, 2007 07:53|
|from a vecor field to get a gradient of scalar||dusky.he||Main CFD Forum||4||March 30, 2007 09:08|
|Boundary scalar field||segersson||OpenFOAM Running, Solving & CFD||1||March 6, 2006 05:22|