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

Compile a new twoPhaseEulerFoam solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2015, 16:34
Default Compile a new twoPhaseEulerFoam solver
  #1
New Member
 
Join Date: Nov 2014
Posts: 11
Rep Power: 11
mingzhao is on a distinguished road
Hi,

Got an error when I try to compile my own twoPhaseEulerFoam solver:

"No rule to make target 'newtwoPhaseEulerFoam.dep', needed by 'Make/linux64GccDPOpt/dependencies'. Stop"

I basically followed the instruction:
http://www.tfd.chalmers.se/~hani/kur...tersReport.pdf

After I coped the original solver, I changed in Make/files EXE = $(FOAM_APPBIN) by $FOAM_USER_APPBIN

However there are several: "-I../" in differnt options files, should I change all of them to
"-I$(LIB_SRC)/../applications/solvers/multiphase/twoPhaseEulerFoam"

My version is 231

Thank you.

Mingzhao
mingzhao is offline   Reply With Quote

Old   April 17, 2015, 02:46
Default
  #2
Member
 
ali alkebsi
Join Date: Jan 2012
Location: Strasbourg, France
Posts: 82
Rep Power: 14
kebsiali is on a distinguished road
did you do the following to

in Make/files
newtwoPhaseEulerFoam.C

EXE = $(FOAM_USER_APPBIN)/newtwoPhaseEulerFoam

where newtwoPhaseEulerFoam is the name of your executable .C and the folder that contains it saved in home/userOFversion/applications/solvers

and did you do wclean before the wmake

you change the options file only when you have new libraries or models in the src or elsewhere (apart from the original ones)
kebsiali is offline   Reply With Quote

Old   April 17, 2015, 12:36
Default
  #3
New Member
 
Join Date: Nov 2014
Posts: 11
Rep Power: 11
mingzhao is on a distinguished road
Hi kebsiali,

Thank you for explaining I did what you said and checked it again. Finally found out one letter is not capital so the compile didnt go through. Thank you very much any way.

Mingzhao
mingzhao 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
different results between serial solver and parallel solver wlt_1985 FLUENT 11 October 12, 2018 08:23
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM 0 April 4, 2010 18:06
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08
TwoPhaseEulerFoam newbee OpenFOAM 0 March 27, 2006 08:41


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