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

problem about compiling meltFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2014, 01:04
Default problem about compiling meltFoam
  #1
New Member
 
wumin
Join Date: Feb 2014
Posts: 7
Rep Power: 12
wumin is on a distinguished road
Anybody can help me?when I compile meltFoam with wmake command,i face a problem about compiling meltFoam:

fuguang@fuguang-Veriton-D630:~/Downloads/meltFoam_solver$ wmake
SOURCE=meltFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam230/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam230/src/OpenFOAM/lnInclude -I/opt/openfoam230/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/meltFoam.o
In file included from meltFoam.C:83:0:
pEqn.H: In function ‘int main(int, char**)’:
pEqn.H:8:11: error: ‘ddtPhiCorr’ is not a member of ‘Foam::fvc’
/opt/openfoam230/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]
make: *** [Make/linux64GccDPOpt/meltFoam.o] Error 1
wumin is offline   Reply With Quote

Old   February 27, 2014, 00:22
Default
  #2
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi,
Just look at the error printed: pEqn.H:8:11: error: ‘ddtPhiCorr’ is not a member of ‘Foam::fvc’ I guess, it's because of versions differences.

Cheers
#shakil
ahmmedshakil is offline   Reply With Quote

Old   February 28, 2014, 00:08
Default
  #3
New Member
 
wumin
Join Date: Feb 2014
Posts: 7
Rep Power: 12
wumin is on a distinguished road
Hi shaki,
Thanks for your reply.In order to compile the meltFoam ,do you think which version of openfoam I can install?

best regards,
wumin
wumin is offline   Reply With Quote

Old   February 28, 2014, 01:55
Default
  #4
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi Wumin,
Have you tried with the meltFoam as given in post #19 (http://www.cfd-online.com/Forums/ope...g-problem.html) ? I guess it will not cause any problem to you.

Cheers
#shakil
ahmmedshakil is offline   Reply With Quote

Old   June 23, 2017, 16:16
Default
  #5
New Member
 
Azzeddine
Join Date: Jul 2016
Posts: 1
Rep Power: 0
Azzeddine is on a distinguished road
Hi Mohammad Shakil Ahmmed; please help me to compile the meltFoam solver, I have openFoam version 4.0.

/run/meltFoam/meltFoam_solver$ wmake all
Making dependency list for source file meltFoam.C
g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam4/src/finiteVolume/lnInclude -I/opt/openfoam4/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam4/src/OpenFOAM/lnInclude -I/opt/openfoam4/src/OSspecific/POSIX/lnInclude -fPIC -c meltFoam.C -o Make/linux64GccDPInt32Opt/meltFoam.o
In file included from meltFoam.C:58:0:
/opt/openfoam4/src/finiteVolume/lnInclude/setInitialDeltaT.H: In function ‘int main(int, char**)’:
/opt/openfoam4/src/finiteVolume/lnInclude/setInitialDeltaT.H:33:5: error: ‘adjustTimeStep’ was not declared in this scope
if (adjustTimeStep)
^
/opt/openfoam4/src/finiteVolume/lnInclude/setInitialDeltaT.H:41:17: error: ‘maxCo’ was not declared in this scope
maxCo*runTime.deltaTValue()/CoNum,
^
/opt/openfoam4/src/finiteVolume/lnInclude/setInitialDeltaT.H:42:44: error: ‘maxDeltaT’ was not declared in this scope
min(runTime.deltaTValue(), maxDeltaT)
^
/opt/openfoam4/wmake/rules/General/transform:8 : la recette pour la cible « Make/linux64GccDPInt32Opt/meltFoam.o » a échouée
make: *** [Make/linux64GccDPInt32Opt/meltFoam.o] Erreur 1
Azzeddine is offline   Reply With Quote

Reply

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
C_T(c,t) problem while compiling (OK interpreted) crevoise Fluent UDF and Scheme Programming 6 February 4, 2014 07:16
Problem with compiling new solver palazi88 OpenFOAM Programming & Development 2 December 24, 2013 19:52
problem with compiling the source code michel1988 OpenFOAM Installation 1 April 17, 2013 17:19
COMPILING PROBLEM ammi FLUENT 1 December 7, 2006 04:07
problem in compiling UDF ammi reddy FLUENT 1 December 1, 2006 06:45


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