CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

modifying turbulentHeatFluxTemperature BC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 26, 2012, 15:16
Default modifying turbulentHeatFluxTemperature BC
  #1
Member
 
Nikunj Raithatha
Join Date: Jul 2012
Location: Washington DC
Posts: 47
Rep Power: 4
Nikunj.R is on a distinguished road
Hello All!

I am trying to use the turbulentHeatFluxTemperature BC to use with buoyantBoussinesqPimpleFoam solver, by replacing all the 'alphaEff' in the BC with 'kappaEff'. however, while doing so, I am getting the following error:


wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file heatFluxAFvPatchScalarField.C
could not open file RASModel.H for source file heatFluxAFvPatchScalarField.C
SOURCE=heatFluxAFvPatchScalarField.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/turbulenceModels -I/opt/openfoam211/src/transportModels -I/opt/openfoam211/src/transportModels/incompressible/lnInclude -I/opt/openfoam211/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam211/src/turbulenceModels/incompressible/turbulenceModel -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/heatFluxAFvPatchScalarField.o
heatFluxAFvPatchScalarField.C:30:22: fatal error: RASModel.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/heatFluxAFvPatchScalarField.o] Error 1

my Make/options file looks like this:

EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/turbulenceModels \
-I$(LIB_SRC)/transportModels
LIB_LIBS = \
-lfiniteVolume

Please help me with the same.

Thanks,
Nikunj.
Nikunj.R is offline   Reply With Quote

Old   March 11, 2013, 22:25
Default
  #2
Member
 
Neilson Whit
Join Date: Aug 2011
Location: USA
Posts: 35
Rep Power: 5
wolfindark is on a distinguished road
Quote:
Originally Posted by Nikunj.R View Post
Hello All!


wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file heatFluxAFvPatchScalarField.C
could not open file RASModel.H for source file heatFluxAFvPatchScalarField.C
SOURCE=heatFluxAFvPatchScalarField.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/turbulenceModels -I/opt/openfoam211/src/transportModels -I/opt/openfoam211/src/transportModels/incompressible/lnInclude -I/opt/openfoam211/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam211/src/turbulenceModels/incompressible/turbulenceModel -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/heatFluxAFvPatchScalarField.o
heatFluxAFvPatchScalarField.C:30:22: fatal error: RASModel.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/heatFluxAFvPatchScalarField.o] Error 1

Nikunj.
RASModel.H file cannot be linked by the compiler. Put the path of RASModel.H file into options file as like : -I$(LIB_SRC)/path/

may be you solved the problem long time ago, but I also work on these issues nowadays...
wolfindark is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
modifying radial distribution function ravindra FLUENT 2 September 2, 2014 15:03
Modifying the laplacian operator mlawson OpenFOAM Running, Solving & CFD 11 September 7, 2011 13:30
Modifying Gambit DBS file Created from MixSim 2 gkennedy3 ANSYS Meshing & Geometry 0 August 7, 2009 10:32
modifying Prepin File from command line pgopalak FLOW-3D 1 August 5, 2009 12:06
Modifying a mesh starting from case file Ale FLUENT 2 September 16, 2008 13:10


All times are GMT -4. The time now is 10:15.