|
[Sponsors] |
How can I use wallHeatFlux with modified icoFoam that has energy equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2014, 19:15 |
How can I use wallHeatFlux with modified icoFoam that has energy equation
|
#1 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
I added energy equation to icoFoam. now I want to use wallheatFlux utility for icoFoam.how can I do this?
im very appreciate for any help |
|
October 30, 2014, 04:11 |
|
#2 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
You should add to your transportProperties file:
Code:
rho0 rho0 [1 -3 0 0 0 0 0] your rho; Cp0 Cp0 [0 2 -2 -1 0 0 0] your cp; |
|
October 30, 2014, 06:31 |
|
#3 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
im appreciate for your reply
|
|
October 30, 2014, 12:29 |
gradT
|
#4 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
now how I can calculate gradT
|
|
October 30, 2014, 17:05 |
|
#5 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
Code:
foamCalc grad T http://openfoamwiki.net/index.php/Contrib_foamCalcEx Next time try searching in google please. |
|
October 30, 2014, 20:23 |
|
#6 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
I downloaded foamCalcex and compile it according to command in http://openfoamwiki.net/index.php/Contrib_foamCalcEx
but when I write Code:
foamCalc grad T Code:
sajad@sajad-pc:~/Desktop/heatedCavity2$ foamCalc grad T Selecting calcType grad --> FOAM FATAL ERROR: Unknown calcType type grad Valid calcType selections are: 8 ( addSubtract components div interpolate mag magGrad magSqr randomise ) From function calcType::New() in file calcType/calcTypeNew.C at line 53. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #1 Foam::error::abort() in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libOpenFOAM.so" #2 Foam::calcType::New(Foam::word const&) in "/opt/openfoam210/platforms/linuxGccDPOpt/lib/libfoamCalcFunctions.so" #3 in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/foamCalc" #4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #5 in "/opt/openfoam210/platforms/linuxGccDPOpt/bin/foamCalc" Aborted sajad@sajad-pc:~/Desktop/heatedCavity2$ ^C tnx for your replies Last edited by wyldckat; November 1, 2014 at 15:40. Reason: Added [CODE][/CODE] |
|
October 31, 2014, 09:17 |
|
#7 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
If you downloaded and installed foamCalcEx shouldn´t you use:
Code:
foamCalcEx grad T |
|
October 31, 2014, 13:43 |
|
#8 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
tnx for your reply
I calculated gradT and wallHeatflux in wall in my case.now I want to calculate Nusselt Number.I know: Nu=(q*L)/(gradT*k) I just should do a fraction.how can I do it for all feild in order to calculate Nusselt number? I'm appreciate for any help. |
|
October 31, 2014, 16:15 |
|
#9 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
You can do that with the paraView calculator.
|
|
October 31, 2014, 18:45 |
|
#10 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
i'm appreciate for your helps.
you are right but I want calculate Nusselt Number just around the block.but in paraview calculater it calculate all field Nusselt number while the Nusselt is meaning just around the block.I mean I just want the Nusselt Number of cells around the block. |
|
November 1, 2014, 03:42 |
|
#11 |
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 13 |
Just use Plot Over Line and extract the data over a patch.
You can also load only the desired patch in paraFoam and calculate the Nusselt number inside the patch |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need experience comment on cavitation combine energy equation!!! | lehoanganh07 | FLUENT | 0 | September 24, 2014 11:28 |
Energy equation in OpenFoam | nwpukaka | OpenFOAM Programming & Development | 2 | June 24, 2014 03:40 |
problem on energy and flow equation solving separately | preetam69 | FLUENT | 2 | July 30, 2013 22:08 |
energy equation in rhoCentralFoam | nakul | OpenFOAM | 0 | October 10, 2010 16:07 |
Why FVM for high-Re flows? | Zhong Lei | Main CFD Forum | 23 | May 14, 1999 14:22 |