CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Heat Flux (https://www.cfd-online.com/Forums/openfoam/72855-heat-flux.html)

robingilbert February 19, 2010 13:27

Heat Flux
 
Hello guys!!!

I need a help. I am new to OpenFOAM as well as CFD. so kindly help me.
I need to apply time varying heat flux as boundary condition. I know that there is wallHeatFlux. I tried to use wallHeatFlux in T as follows:

Code:


patch76
    {
        type            wallHeatFlux;
        value          uniform 1;
    }
    patch78
    {
        type            wallHeatFlux;
        value          uniform 1;
    }
    patch80
    {
        type            wallHeatFlux;
        value          uniform 1;
    }

but i am getting the following error.

Code:

Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>>


--> FOAM FATAL ERROR:
Not Implemented
    Trying to construct an genericFvPatchField on patch patch76 of field h

    From function genericFvPatchField<Type>::genericFvPatchField(const fvPatch& p, const DimensionedField<Type, volMesh>& iF)
    in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 45.

I know this is for constant heat flux. it would be helpful if u can tell me how to include time varying heat flux. i couldnt find any useful resources online for that aspect.

feijooos February 19, 2010 15:59

take a look at groovyBC, maybe that can help you out. I am not sure if you can specify the heat flux, but time varying is definitely possible.

robingilbert February 19, 2010 16:09

thank you!! i will look at that...
Can anyone tell me if it is possible to give heat as a bc. like x joules heat coming from an internal heat source (like a wall or something??)

Hamish March 16, 2010 15:38

Heat Flux BC
 
Did you ever have any luck in finding a way to add a heat flux boundary condition?
Thanks


All times are GMT -4. The time now is 23:59.