CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Using a user-defined solver in OF

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 8, 2011, 13:46
Default Using a user-defined solver in OF
  #1
Senior Member
 
jeff osborne
Join Date: Mar 2010
Posts: 108
Rep Power: 7
ozzythewise is on a distinguished road
Hey all,

I have a user defined solver that I want to execute in OF (the solver is entitled icoPeriodicScalarTransportFoam) but when I try to execute it in a similar way to any other solver (such as icoFoam) I get the error:

error: can't find 'icoPeriodicScalarTransportFoam' or it is not executable.

Now, the solver was not created by me, but I know that this solver package did once work on another computer account that I don't have access to. All the files for this solver are located in $WORKING_DIR/OpenFOAM/$USER-OF_VERSION_NUMBER/applications/solvers/incompressible/icoPeriodicScalarTransportFoam

My question is, what modifications do I need to do in order to make this solver function like a normal OpenFOAM solver?

Thanks
Jeff
ozzythewise is offline   Reply With Quote

Old   February 8, 2011, 15:54
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
Bernhard is on a distinguished road
Are you sure it is correctly compiled?
Bernhard is offline   Reply With Quote

Old   February 8, 2011, 16:26
Default
  #3
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
it seems you did not compile it at all!
so go to the file directory and write wmake in terminal!
if it compile it fine, it will works
nimasam is online now   Reply With Quote

Old   February 8, 2011, 16:28
Default
  #4
Senior Member
 
jeff osborne
Join Date: Mar 2010
Posts: 108
Rep Power: 7
ozzythewise is on a distinguished road
Yeah you're right, I didn't compile it at all. Woops, I'm still learning.

Works good now, thanks!
ozzythewise is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paraview User defined view prapanj ParaView 3 January 3, 2014 21:54
USER DEFINED SCALARS yann Phoenics 6 November 14, 2013 09:46
user defined sourcen term xck1986 CFX 1 July 8, 2010 08:35
user defined turbulence model manuutin STAR-CD 5 October 14, 2009 05:29
Source term for user defined scalars Mech.eng. CD-adapco 0 March 16, 2006 07:15


All times are GMT -4. The time now is 15:53.