groovyBC for defining heat influx at the boundary
1 Attachment(s)
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 |
Quote:
|
Thank you very much Bernhard
|
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 Thank you! |
Quote:
I usually limit myself to answers about the technical aspects of swak4Foam. Physics is your own responsibility |
Thank you very much. It worked!
|
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?
|
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) |
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? |
Quote:
Depending on that timeVaryingMappedFixedValue might be able to help you |
Quote:
|
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 |
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. |
All times are GMT -4. The time now is 00:06. |