CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to control priorities in Make/options

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2021, 12:43
Default How to control priorities in Make/options
Join Date: Mar 2019
Posts: 53
Rep Power: 4
celestial is on a distinguished road
Hello everybody

I am modifying some of openfoam's header files in my own account keeping the same filename.

Unfortunately, from the openfoam's ProgrammersGuide it seems that wmake will first consider looking at the original openfoam header.

Likewise, I created a library with the same name as one of openfoam's libraries and again the same guide tells me that openfoam's library has priority in wmake's search.

Therefore, whenever my modifications introduce new variables or functions, wmake yields errors complaining of undefined variables and functions.

So. unless priorities can be altered, then, it seems to me that I have no other choice but to change header and library names.

Thanks to all
celestial is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monte Carlo Simulation: H-Energy is not convergating & high Incident Radiation volleyHC CFX 5 April 3, 2016 06:41
Problem with an old Simulation FrankW CFX 3 February 8, 2016 05:28
CFX FSI Fatal Error unbanana CFX 0 October 3, 2015 06:57
FSI: Pressure and Normal Force don't match with expected values Geraud CFX 6 August 21, 2012 16:34
Match Control and Symmetry Boundary Condtions in a quasi 2D calculation peterputer ANSYS Meshing & Geometry 0 May 15, 2012 09:53

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