CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Using a user-defined solver in OF (http://www.cfd-online.com/Forums/openfoam-solving/84781-using-user-defined-solver.html)

ozzythewise February 8, 2011 13:46

Using a user-defined solver in OF
 
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

Bernhard February 8, 2011 15:54

Are you sure it is correctly compiled?

nimasam February 8, 2011 16:26

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;)

ozzythewise February 8, 2011 16:28

Yeah you're right, I didn't compile it at all. Woops, I'm still learning.

Works good now, thanks!


All times are GMT -4. The time now is 23:51.