View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003774 | OpenFOAM | Bug | public | 2022-01-05 17:48 | 2022-01-05 19:12 |
Reporter | joegi | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0003774: waterChannel tutorial wrong fieldi | ||||
Description | When running the tutorial tutorials/multiphase/interFoam/RAS/waterChannel The solver gives the following warning, surfaceFieldValue inletFlux write: --> FOAM Warning : From function virtual bool Foam::functionObjects::fieldValues::surfaceFieldValue::write() in file fieldValues/surfaceFieldValue/surfaceFieldValue.C at line 809 Requested field rhoPhi not found in database and not processed Also, no information is saved in the output files surfaceFieldValue.dat The right field keyword should be phi instead of rhoPhi in the definition of the function object inletFlux. | ||||
Steps To Reproduce | Just run the tutorial tutorials/multiphase/interFoam/RAS/waterChannel | ||||
Tags | No tags attached. | ||||
|
phi is the volumetric flux and so not appropriate for this purpose, the intension is to obtain the mass flux. rhoPhi is no longer cached so either phi could be multiplied by rho in the sampling or maybe it would be better to include the phase-fraction to obtain the volumetric flux of the water. |
|
Resolved in OpenFOAM-9 by commit 1b6d2212992cd67409b49bebad8961a9bb120994 Resolved in OpenFOAM-dev by commit ef9707eaa76cb274618116790e0dc4b70fdde7c8 |