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

if I edited some file in the openfoam files should I rerun Allwmake again?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2022, 04:31
Default if I edited some file in the openfoam files should I rerun Allwmake again?
  #1
New Member
 
Zeinab Abosedaira
Join Date: Mar 2022
Posts: 24
Rep Power: 4
ZeinabM is on a distinguished road
Hello all,
I was working on developing an SRF solver for compressible flows. So, now I am editing some files in
Code:
OpenFOAM/OpenFOAM-v2012/src/finiteVolume/cfdTools/general/SRF/SRFModel/SRFModel/SRFModel.H
. The thing is that all the functions I added or edited are not recognized by
Code:
wmake
when I am running the new SRF solver.
So below you can find an "undefined reference to a function":
Code:
/usr/bin/ld: Make/linux64Gcc63DPInt32Opt/SRFrhoSimpleFoam.o: in function `main':
/home/zeinab278/OpenFOAM/zeinab278-v2012/applications/SRFrhoSimpleFoam/UrelEqn.H:12: undefined reference to `Foam::SRF::SRFModel::SuComp(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const'
collect2: error: ld returned 1 exit status
make: *** [/opt/OpenFOAM/OpenFOAM-v2012/wmake/makefiles/general:150: /home/zeinab278/OpenFOAM/zeinab278-v2012/platforms/linux64Gcc63DPInt32Opt/bin/SRFrhoSimpleFoam] Error 1
I noticed this behavior with all the functions I add or edited. This made me think that it's not seen by wmake. Anyone can guess the problem?
ZeinabM 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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 01:24


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