CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Creating My First Solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2015, 19:53
Default Creating My First Solver
  #1
Member
 
Alex
Join Date: Jan 2014
Posts: 54
Rep Power: 12
H0T_S0UP is on a distinguished road
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$
H0T_S0UP is offline   Reply With Quote

Old   February 23, 2015, 08:02
Default
  #2
Member
 
Join Date: Jun 2011
Posts: 53
Rep Power: 14
blacksquirrel is on a distinguished road
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
Then go into the shown folder and look whether you can find your OwnSolverFoam

If yes, then the command should be found. Please pay attention to lower and uppercase in the name.
blacksquirrel is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:10.