icoFoam with multiRegion and passive scalar transport
1 Attachment(s)
Dear FoamCommunity,
i try to build a solver, which allows me to simulate multiRegions with passive scalartransport from fluid to solid and back, for a nonNewtonian fluid. I took pieces from chtMultiRegionFoam.C and nonNewtonianIcoFoam.C as well as some from scalarTransportFoam. At the moment i am facing several problems. The actual one: i cannot compile the solver without any warnings/errors. For instance: i can't figure out, why "fluid" is not defined, respectively where to define it. I will upload the code of the .C file and the error-message from terminal as well. Hopefully someone can help me. Regards, Martin Code:
SOURCE=CDTnonNewtonianIcoFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -Ifluid -Isolid -Iinclude -I/opt/openfoam211/src/meshTools/lnInclude -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/transportModels -I/opt/openfoam211/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/openfoam211/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam211/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam211/src/thermophysicalModels/basicSolidThermo/lnInclude -I/opt/openfoam211/src/turbulenceModels/compressible/turbulenceModel/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/CDTnonNewtonianIcoFoam.o |
Hi,
Did you check the topic about chtIcoMultiRegionFoam? It can be found here [1], you might need to adjust it somewhat to fit your needs, but the basic framework is already there, it seems. [1] http://www.cfd-online.com/Forums/ope...egionfoam.html |
All times are GMT -4. The time now is 13:15. |