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

How to add a new model

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2013, 03:39
Default How to add a new model
  #1
New Member
 
LI Bo
Join Date: Apr 2013
Posts: 13
Rep Power: 4
michel1988 is on a distinguished road
Hello,
I want to add a new model to OpenFOAM. When I compile the source code of the new model with "wmake", it reads in the terminal:
make: *** No rule to make target `NEW/NewModel.dep', needed by `Make/linuxGccDPOpt/dependencies'. Stop.
How to deal with this problem?
Thanks.
michel1988 is offline   Reply With Quote

Old   April 16, 2013, 12:26
Default
  #2
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 236
Rep Power: 7
fredo490 is on a distinguished road
Did you think about changing your "Make\files" ?
Code:
NewModel.C

EXE = $(FOAM_USER_APPBIN)/NewModel
And if you call any special function that was not in your original solver, you need to change the "Make\options" file.
fredo490 is offline   Reply With Quote

Old   April 16, 2013, 16:32
Default
  #3
New Member
 
LI Bo
Join Date: Apr 2013
Posts: 13
Rep Power: 4
michel1988 is on a distinguished road
Quote:
Originally Posted by fredo490 View Post
Did you think about changing your "Make\files" ?
Code:
NewModel.C

EXE = $(FOAM_USER_APPBIN)/NewModel
And if you call any special function that was not in your original solver, you need to change the "Make\options" file.
I made a mistake in "files". Thanks for your reply
michel1988 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
about Subgrid-scale model impecca OpenFOAM Running, Solving & CFD 4 December 20, 2013 11:36
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Add additional scalar to turbulence model john_w OpenFOAM 1 December 23, 2010 13:45
Low Reynolds k-epsilon model YJZ ANSYS 1 August 20, 2010 13:57
DPM model w/ Wave model - errors in documentation HS FLUENT 0 April 12, 2006 04:37


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