View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003980 | OpenFOAM | Bug | public | 2023-05-16 03:25 | 2023-05-16 07:47 |
Reporter | weitao | Assigned To | henry | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | ubuntu | OS Version | 20.04.5 | ||
Summary | 0003980: An error occurred while using functionObjects about forceCoeffs | ||||
Description | Hello, I use the icoFoam solver and compute the flow. When I tried to use the postProcess command for post-processing after completing the calculation using icoFoam, I encountered the following error: No valid model for viscous stress calculation I would like to use functionObject for post-processing on resistance coefficient.This is the command code I used at the time: postProcess -fields "(p U)" -dict system/functionObject1 -noZero This is my functionObejct file: functions { forceCoeffs_1 { type forceCoeffs; libs ("libforces.so"); enabled true; patches (C-X); pName p; Uname U; rho rhoInf; rhoInf 1e+3; log true; CofR (0 0 0); pitchAxis (0 0 1); magUInf 0.196; lRef 1; Aref 8e-3; writeControl timeStep; writeInterval 25; liftDir (0 1 0); dragDir (1 0 0); } } Here is a part of the log file: forces forceCoeffs_1: Not including porosity effects forceCoeffs forceCoeffs_1: Not including porosity effects Time = 0.005 Reading fields: volScalarFields: p volVectorFields: U Executing functionObjects --> FOAM FATAL ERROR: No valid model for viscous stress calculation From function Foam::tmp<Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh> > Foam::functionObjects::forces::devTau() const in file forces/forces.C at line 277. FOAM exiting | ||||
Additional Information | Product Version is 8 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-16 03:25 | weitao | New Issue | |
2023-05-16 07:46 | henry | Note Added: 0013016 | |
2023-05-16 07:47 | henry | Severity | major => feature |
2023-05-16 07:47 | henry | Assigned To | => henry |
2023-05-16 07:47 | henry | Status | new => closed |
2023-05-16 07:47 | henry | Resolution | open => no change required |
2023-05-16 07:47 | henry | Note Added: 0013017 |