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

Using a user-defined solver in OF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 16
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: 22
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 Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
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 offline   Reply With Quote

Old   February 8, 2011, 16:28
Default
  #4
Senior Member
 
jeff osborne
Join Date: Mar 2010
Posts: 108
Rep Power: 16
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


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
[General] 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 09:35
user defined turbulence model manuutin STAR-CD 5 October 14, 2009 06:29
Source term for user defined scalars Mech.eng. Siemens 0 March 16, 2006 07:15


All times are GMT -4. The time now is 20:25.