CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Time dependent heat flux (http://www.cfd-online.com/Forums/openfoam-solving/109316-time-dependent-heat-flux.html)

Nikunj.R November 14, 2012 17:59

Time dependent heat flux
 
Hello All!

I am trying to simulate an example with a trubulentHeatFluxTemperature boundary condition. While I have successfully implemented this BC, I am wanting to introduce time dependent heat flux in table format, where one specifies time and the corresponding heat flux value. I believe it is doable for fields like T, U using uniformFixedValue type, I dont know how to do it while using trubulentHeatFluxTemperature type.

Please let me know how to recompile this BC type or related discussions.

Thanks.
Nikunj.

vainilreb January 22, 2013 06:55

Hey Nikunj,

have you already found a way to do this? It's exactly the problem I'm facing right now.

Best regards,

Robert

Gaspacho April 15, 2015 04:55

Dear all ,

I 'm also facing this problem. I would like to define two linearly time dependent boundary conditions : a wall heat flux ( W/m^2) and a mixture gas mass flow rate (kg/s). For the heat flux , I was testing the compressible::turbulentHeatFluxTemperature boundary condition on the hot room tutorial case from tutorials/heatTransfer/buoyantPimpleFoam and I modified the Temperature boundary condition for the floor like this :

Code:


floor
    {
        type compressible::turbulentHeatFluxTemperature;
        heatSource flux; // flux for W/m^2
        q  tableFile;
        tableFileCoeffs
      {
        fileName  "/home/user/Openfoam/hotRoom/myDataFile.txt"
        outOfBounds  clamp;
     
      }
      kappa fluidThermo;
      Qr none;
      kappaName      none;
      value uniform 300;
      }

However this way does not seem to work as q expects the key word uniform with scalar value. May someone provide hints to do some time-dependent heat flux and mass flow rate BC ?

Thank you in advance !


All times are GMT -4. The time now is 18:30.