|
[Sponsors] |
June 7, 2017, 21:07 |
Trouble with simpleFoam
|
#1 |
New Member
Join Date: Jun 2017
Posts: 11
Rep Power: 9 |
Hi, I'm trying to run simpleFoam on OpenFoam 4.1 using:
foamJob simpleFoam and I receive: Application : simpleFoam Executing: /opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/simpleFoam > log 2>&1 & and when I check top command nothing is running. I have no idea where to begin to solve this error, if anyone has any insight I would very much appreciate it. I have modified the motorBike tutorial Forgive me as I am new to CFD and OpenFOAM. Thank you |
|
June 7, 2017, 22:14 |
|
#2 |
Member
Join Date: Nov 2014
Posts: 92
Rep Power: 12 |
It looks to me that foamJob is running simpleFoam in the background and put the process log in a log file. Try to look for the log file.
You can run the case using only simpleFoam. Your command window should show you all the process Sent from my LG-H818 using CFD Online Forum mobile app |
|
June 7, 2017, 22:21 |
|
#3 |
New Member
Join Date: Jun 2017
Posts: 11
Rep Power: 9 |
Thanks for the reply.
The command window shows me nothing it just stays on Application : simpleFoam Executing: /opt/openfoam4/platforms/linux64GccDPInt32Opt/bin/simpleFoam > log 2>&1 & and if i click enter again i get [1] 18928 Sorry if I am not explaining this properly I am quite new to CFD and OpenFoam. |
|
June 7, 2017, 22:26 |
|
#4 |
Member
Join Date: Nov 2014
Posts: 92
Rep Power: 12 |
Sorry I didn't explain clearly. What I mean is instead of typing " foamJob simpleFoam", you should use only "simpleFoam" to run your case. Try it
Sent from my LG-H818 using CFD Online Forum mobile app |
|
June 8, 2017, 07:07 |
|
#5 |
New Member
Join Date: Jun 2017
Posts: 11
Rep Power: 9 |
Ah thanks, oh a whole bunch of warnings appeared. I guess I should start going through these and fixing them.
Thank you for your help |
|
June 8, 2017, 08:15 |
|
#6 |
New Member
Join Date: Jun 2017
Posts: 11
Rep Power: 9 |
I've managed to fix some of the errors, but I'm left with this. Does anyone know how to approach this?
Code:
forces forceCoeffs1: Not including porosity effects forceCoeffs forceCoeffs1: Not including porosity effects --> FOAM Warning : From function void Foam::timeControl::read(const Foam::dictionary&) in file db/functionObjects/timeControl/timeControl.C at line 89 Reading "/home/kizbiz/OpenFOAM/kizbiz-4.1/run/tutorials/pipe/system/controlDict.functions.forces1" from line 11 to line 26 Using deprecated 'outputControl' Please use 'writeControl' with 'writeInterval' forces forces1: Not including porosity effects --> FOAM FATAL IO ERROR: keyword cumulative is undefined in dictionary "/home/kizbiz/OpenFOAM/kizbiz-4.1/run/tutorials/pipe/system/controlDict.functions.forces1.binData" file: /home/kizbiz/OpenFOAM/kizbiz-4.1/run/tutorials/pipe/system/controlDict.functions.forces1.binData from line 23 to line 26. From function const Foam::entry& Foam::dictionary::lookupEntry(const Foam::word&, bool, bool) const in file db/dictionary/dictionary.C at line 441. |
|
June 9, 2017, 08:03 |
|
#7 | |
Member
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 12 |
Quote:
you are missing "cumulative" within subDict binData in your foceCoeffs functionObject. It should look something like this: Code:
forceCoeffs1 { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl timeStep; timeInterval 1; log yes; patches ( motorBikeGroup ); rhoName rhoInf; // Indicates incompressible rhoInf 1; // Redundant for incompressible liftDir (0 0 1); dragDir (1 0 0); CofR (0.72 0 0); // Axle midpoint on ground pitchAxis (0 1 0); magUInf 20; lRef 1.42; // Wheelbase length Aref 0.75; // Estimated binData { nBin 20; // output data into 20 bins direction (1 0 0); // bin direction cumulative yes; } } Ricky
__________________
If it is easy, then something is fishy! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
having trouble using simpleFoam and moving reference frame (MRF) | joyw | OpenFOAM | 5 | June 24, 2018 16:23 |
simpleFoam parallel solver & Fluent polyhedral mesh | Zlatko | OpenFOAM Running, Solving & CFD | 3 | September 26, 2014 07:53 |
Trying to run a benchmark case with simpleFoam | spsb | OpenFOAM | 3 | February 24, 2012 10:07 |
Small speed simpleFoam trouble | milos | OpenFOAM Post-Processing | 0 | November 17, 2009 09:00 |