|
[Sponsors] |
February 21, 2015, 19:53 |
Creating My First Solver
|
#1 |
Member
Alex
Join Date: Jan 2014
Posts: 54
Rep Power: 12 |
I am creating my own solver. Basically, it is a modification of laplacianFoam - I am solving a heat transfer problem with a source term included. It is creatively named "OwnSolverFoam" haha
I have modified createFields.H, OwnSolverFoam.C, Make/files and created a new tutorial directory for my case. running wmake yielded no errors. No errors within the tutorial were encountered too. However, when I go to run the case I get a message stating the command is not found: Code:
skankatron@skankatron-Q551LN:/opt/openfoam231/tutorials/basic/OwnSolverFoam/flange$ OwnSolverFoamOwnSolverFoam: command not found skankatron@skankatron-Q551LN:/opt/openfoam231/tutorials/basic/OwnSolverFoam/flange$ |
|
February 23, 2015, 08:02 |
|
#2 |
Member
Join Date: Jun 2011
Posts: 53
Rep Power: 14 |
Hi Alex,
since in your error message the name of the solver is written two times, are you sure you typed "OwnSolverFoam" only once? Did you modify Make/files with Code:
EXE = $(FOAM_USER_APPBIN)/OwnSolverFoam Next step would be Code:
echo $FOAM_USER_APPBIN If yes, then the command should be found. Please pay attention to lower and uppercase in the name. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error while using my solver | samiam1000 | OpenFOAM Programming & Development | 6 | June 13, 2012 08:53 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 11:34 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
Creating a new solver from chtMultiRegionFoam | David_010 | OpenFOAM Programming & Development | 0 | April 20, 2010 11:36 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |