|
[Sponsors] |
[swak4Foam] groovyBC for defining heat influx at the boundary |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Delstat
Join Date: Apr 2013
Posts: 15
Rep Power: 13 ![]() |
Hi ,
I am using laplacianfoam for a heat-block case. I have gone thru the discussion - "Mixed BC - heat transfer - laplacianFoam" http://www.cfd-online.com/Forums/ope...acianfoam.html. From the forum discussions - "externalWallHeatFluxTemperature" and "groovyBC" were pointed out. I am interested to apply heat influx at the boundary wall.Please find the attached snapshot for more info. How to apply "groovyBC" for defining heat influx at the boundary in a heat-block? Thank you, Pradeep |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Delstat
Join Date: Apr 2013
Posts: 15
Rep Power: 13 ![]() |
Thank you very much Bernhard
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Delstat
Join Date: Apr 2013
Posts: 15
Rep Power: 13 ![]() |
Dear Bernhard,
For a case, flux is ------------>>>> q = -(k) * (dT/dx) (dT/dx) = - q /k We have : "q" is the heat flux : q = 10 (W/m2), "k" is the thermal Conductivity of the material : k = 200 (W/mK) HTML Code:
Outwall { type groovyBC; value uniform 293; gradientExpression “(-q)/k"; fractionExpression "0"; variables “q=10;k=200"; } Thank you! |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
I usually limit myself to answers about the technical aspects of swak4Foam. Physics is your own responsibility
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Delstat
Join Date: Apr 2013
Posts: 15
Rep Power: 13 ![]() |
Thank you very much. It worked!
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Chris Ostrom
Join Date: Jul 2014
Posts: 4
Rep Power: 12 ![]() |
would it be possible to use a 'q' file that is the output from a different solver instead of defining one constant value for q on the boundary?
|
|
![]() |
![]() |
![]() |
![]() |
#8 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
I've explained it a number of times in different places: it is not THAT easy to do it in a general way (fileformats, different discretizations, error handling, parallel etc)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Chris Ostrom
Join Date: Jul 2014
Posts: 4
Rep Power: 12 ![]() |
I apologize for asking a question that has been answered elsewhere, but...
I have a qMean file resulting from a dsmcFoam run, and I would like to use the heat fluxes from that as a boundary condition for a laplacianFoam runcase. is this currently possible in openFOAM 2.3.x without editing the *.h, *.c files? |
|
![]() |
![]() |
![]() |
![]() |
#10 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
Depending on that timeVaryingMappedFixedValue might be able to help you
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#11 | |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#12 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
There are boundary conditions that implement constant heat-flux in OpenFOAM. If your heat-flux has no spatial or temporal distribution then I'd recommend using these. If you want to/have to use groovyBC the heat conductivity of the fluid is sufficient information to calculate the temperature gradient
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
![]() |
![]() |
![]() |
![]() |
#13 | |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 ![]() |
Quote:
I think I know the thermo conductivity of fluid in my case but I am using tabular method to get these thermopropertities. So kappa is changing with T and P and read from tabulated table. And I am using externalWallHeatFluxTemperature BC to give the constant heat flux. But I am not sure if kappaMethod : fluidThermo is suitable for my case. I use wallHeatFlux to check the heat flux after simulation. The result is far diffrernt from the setting one. But when I use #include wallHeatFlux to check heat flux during running, it give other heat flux values which are closer to the setting one in BC. So I am confused about the different behaviors of the utility. I just use it in different moments and it gives me different values. Any hint is highly appreciated. |
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
natural convection | mehrdadeng | CFX | 10 | February 25, 2011 06:25 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
CFX doesn't continue calculation... | mactech001 | CFX | 6 | November 15, 2009 22:25 |