CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   How does one do this in OpenFoam (http://www.cfd-online.com/Forums/openfoam/61022-how-does-one-do-openfoam.html)

kupiainen September 14, 2005 09:51

Hi, I have constructed a surf
 
Hi,
I have constructed a surfaceScalarField dx by

surfaceScalarField dx
(
IOobject
(
"dx",
runTime.timeName(),
mesh,
IOobject::NO_READ,
IOobject::NO_WRITE
),
1.0/(mesh.surfaceInterpolation::deltaCoeffs())
);
and
surfaceScalarField E = fvc::interpolate(mag(rhoU/rho)+SoundSpeed);

I then want to compute the "scalar-product" of
dx and E. Will the result be a volScalarField and how is this done?

best regards Marco


All times are GMT -4. The time now is 11:00.