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

Why is wmake insufficient to effect the changes I want made in a library?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 16, 2017, 17:37
Default Why is wmake insufficient to effect the changes I want made in a library?
  #1
New Member
 
Clint
Join Date: Sep 2015
Posts: 10
Rep Power: 10
cdunn6754 is on a distinguished road
I have been working on implementing some new combustion stuff for a multiphase solver. One of my debugging tactics is to change some of the source to print out variables of interest so i can be sure what is happening.

The usual workflow depending on how the library is built into the solver (run time selectable (rts) or not) is
  1. Modify the source code of interest
  2. run wmake to rebuild the library that contains the modified source file
  3. Possibly rebuild the solver (depending on whether or not the modified functionality is rts or not)
  4. run solver and take note of modified output

Currently I am working with a slightly modified version of coalChemistryFoam (OF v. 4.1) and modifying the laminar.C file in the combustion library (so the laminar combustion model). When I modify laminar.C and wmake the combustion library the changes are not make to the library and do not show up when I run my solver (even if I recompile the solver, which shouldn't matter I think because the combustion model is rts).

However if I wclean the library after making/saving my changes to laminar.C and then I wmake I can see that the changes have been made to the library when I run my solver.

Why am I having to wclean it in this situation when normally just recompiling with wmake will work?
cdunn6754 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
[ImmersedBoundary] Immersed Boundary Method in OpenFOAM-3.1-ext miladrakhsha OpenFOAM Community Contributions 106 July 3, 2023 10:26
tailor made class, wmake libso successfully, but run failed. sharonyue OpenFOAM Programming & Development 1 November 20, 2014 21:49
Having problems building source code when using wmake Carla OpenFOAM Programming & Development 4 November 3, 2014 03:15
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 01:36
Can OpenFoam be made faster or which Math kernel library is used jens_klostermann OpenFOAM 0 February 4, 2008 08:37


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