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

Customize MULES

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Phicau

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 14, 2012, 11:43
Default Customize MULES
  #1
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Dear all,

I need to modify MULES, and therefore convert it to myMULES.

In order to do so I follow the standard procedure copying the three files in my user folder, run rename 's/MULES/myMULES/g' *.* and sed -i 's/MULES/myMULES/g' *.*

I create the Make folder and add the two files:

files
Code:
myMULES.C

LIB = $(FOAM_USER_LIBBIN)/libmyMULES
options
Code:
EXE_INC = \
    -I$(LIB_SRC)/triSurface/lnInclude \
    -I$(LIB_SRC)/meshTools/lnInclude

LIB_LIBS = \
    -lOpenFOAM \
    -ltriSurface \
    -lmeshTools \
    -lfiniteVolume
Note that in the latter one I have added -lfiniteVolume

Then I try to compile it, but several errors regarding impossibility to locate and load dependencies arise.

¿What else do I have to include?

Thanks a lot

Pablo
Phicau is offline   Reply With Quote

 

Tags
mules


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
Multiple floating objects CKH OpenFOAM Running, Solving & CFD 14 February 20, 2019 09:08
interFoam VOF is loosing fluid wersoe OpenFOAM Running, Solving & CFD 12 June 26, 2013 08:13
Errno 24 linux ivanwhlau OpenFOAM Running, Solving & CFD 6 July 1, 2009 10:16
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
Can I Customize Fluent Environment venugopal FLUENT 0 June 16, 2004 12:15


All times are GMT -4. The time now is 02:13.