|
[Sponsors] |
April 26, 2008, 02:10 |
Dear friends:
when i run t
|
#1 |
Senior Member
|
Dear friends:
when i run the tutorials 2.2, i met the following error, my openfoam is 1.4.1 --> FOAM FATAL IO ERROR : expected 'true' or 'false', found yes file: /root/OpenFOAM/root-1.4.1/run/tutorials/solidDisplacementFoam/plateHole/system/f vSolution::D::scaleCorrection at line 41. From function operator>>(Istream&, bool&) in file primitives/bool/boolIO.C at line 72. FOAM exiting after i modify the yes to true and no to false, then erverything is ok but the fvSolution file is generated by the foamX, it is not written by myself, so would you please tell me what is the problem. Regards |
|
April 26, 2008, 05:37 |
You can modify solver or FoamX
|
#2 |
Senior Member
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21 |
You can modify solver or FoamX.
modifying of solver is easy (just look for sources and find where solver controls are read). But, on my opinion, it is better to modify FoamX configs First of all, look in to the file OpenFOAM/OpenFOAM-1.4/applications/solvers/stressAnalysis/solidDisplacementFoam/ FoamX/fvSolution.cfg - here you will find files, that FoamX uses as configuration for GUI dialogs No, go to file /OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/apps/FoamX/types/Switch.cfg and modify it as proposed. for example, file was: Switch { type word; iconURL "/FoamX/icons/small/maths/Switch.gif"; valueList ( yes no ); } SwitchOnOff { type word; iconURL "/FoamX/icons/small/maths/Switch.gif"; valueList ( on off ); } after modifying: Switch { type word; iconURL "/FoamX/icons/small/maths/Switch.gif"; valueList ( yes no ); } SwitchTrueFalse { type word; iconURL "/FoamX/icons/small/maths/Switch.gif"; valueList ( true false ); } SwitchOnOff { type word; iconURL "/FoamX/icons/small/maths/Switch.gif"; valueList ( on off ); } now, go to file /OpenFOAM/OpenFOAM-1.4/.OpenFOAM-1.4/apps/FoamX/entries/Switch/compactNormalStre ss.cfg and modify <type> to new introduced type <switchtruefalse> and <default> to <true> it is good practice to backup old files (if something goes wrong) good luck! P.S. may be you need to add some another changes in FoamX configs... P.P.S. command line is much better!
__________________
MDPI Fluids (Q2) special issue for OSS software: https://www.mdpi.com/journal/fluids/..._modelling_OSS GitHub: https://github.com/unicfdlab Linkedin: https://linkedin.com/in/matvey-kraposhin-413869163 RG: https://www.researchgate.net/profile/Matvey_Kraposhin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tutorials, where? | Rogerio Fernandes Brito | FLUENT | 0 | October 29, 2008 13:28 |
Segmentation error in tutorials | mic | Siemens | 1 | March 27, 2007 07:33 |
about tutorials 11 | tiny | Siemens | 3 | October 19, 2005 16:39 |
Ask about CFD tutorials | Siripon Sukuabol | Main CFD Forum | 4 | March 1, 2005 09:30 |
Tutorials | Jennifer Haque | CFX | 0 | January 17, 2002 08:16 |