View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002385 | OpenFOAM | Bug | public | 2016-12-12 05:51 | 2018-07-10 11:16 |
Reporter | satbhaiojas@gmail.com | Assigned To | henry | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | i686 GNU/Linux | OS | Ubuntu 14.04 LTS | OS Version | 3.13.0-101-gener |
Summary | 0002385: buoyantPimpleFoam fails with -withFunctionObjects | ||||
Description | I am trying to create a new field "mag(U)" using coded function and compute_ptot using swak4foam. here is extract from controlDict addded to the "hotRoom" turorial for buoyantPimpleFoam, Quote: functions { compute_ptot { functionObjectLibs ( "libutilityFunctionObjects.so" ); type coded; // enabled true; redirectType ptot; outputControl outputTime; // outputInterval 1; code #{ const volVectorField& U = mesh().lookupObject<volVectorField>("U"); volScalarField mymagu ( IOobject ( "mymagu", mesh().time().timeName(), U.mesh(), IOobject::NO_READ, IOobject::AUTO_WRITE ), mag(U) ); mymagu.write(); #}; } compute_ptot { type expressionField; outputControl outputTime; outputInterval 1; fieldName ptot; expression "(mag(U))"; autowrite true; } }; with following libraries Quote: libs ( "libsimpleSwakFunctionObjects.so" "libswakFunctionObjects.so" ); In both the method I can see the output files of the variables "mymagu" and "compute_ptot", but they are not readable in paraview. Quote: Quote: buoyantPimpleFoam -withFunctionObjects produces following error, Quote: Usage: buoyantPimpleFoam [OPTIONS] options: -case <dir> specify alternate case directory, default is the cwd -noFunctionObjects do not execute functionObjects -parallel run in parallel -roots <(dir1 .. dirN)> slave root directories for distributed running -srcDoc display source code in browser -doc display application documentation in browser -help print the usage Using: OpenFOAM-3.0.1 (see www.OpenFOAM.org) Build: 3.0.1-18e358711b4e --> FOAM FATAL ERROR: Invalid option: -withFunctionObjects FOAM exiting | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-12 05:51 | satbhaiojas@gmail.com | New Issue | |
2016-12-12 05:51 | satbhaiojas@gmail.com | Tag Attached: buoyantPimpleFoam -withFunctionObjects | |
2016-12-12 07:34 | henry | Note Added: 0007458 | |
2016-12-12 07:34 | henry | Assigned To | => henry |
2016-12-12 07:34 | henry | Status | new => closed |
2016-12-12 07:34 | henry | Resolution | open => fixed |
2016-12-12 07:34 | henry | Fixed in Version | => 4.1 |
2016-12-12 07:34 | henry | Note Added: 0007459 | |
2018-07-10 11:16 | administrator | Tag Detached: buoyantPimpleFoam -withFunctionObjects |