Skip to content

Repository files navigation

externalWallHeatFluxTemperatureP

DOI

This is an OpenFOAM-3.0.1 boundary condition.

It is a modification of the externalWallHeatFluxTemperature boundary condition distributed with OpenFOAM.

For more info about OpenFOAM see the official website openfoam.org, unofficial wiki openfoamwiki.net and the community forum cfd-online.com.

Getting Started

An OpenFOAM 3.0.1 installation is required to run the code. This code was run on Centos 6.6 (Rocks 6.2 Sidewinder).

Run Allwmake in the utility directory to compile it.

Details

The usage of the boundary condition.

My use -- tested

boundaryField
{
    wallIn
    {
        type            extWHFTP;
        kappa           lookup; //Method for reading thermal conductivity.
        //q               uniform 1000; //q or Ta and h
        Ta              uniform 50.0;// sink temperature
        h               uniform 1000.0;//not really used anymore
        hpr             table (
                        (0 1019.52) //p, HTC [Pa, W/m2K]
                        (1e8 5383.56)
                        );
        value           uniform 220.0; //initial temperature [K]
        kappaName       mojKappaOut; // Custom field for thermal conductivity
    }
}

General use -- did not test this

boundaryField
{
    wallIn
    {
        type            extWHFTP;
        kappa           fluidThermo;  // fluidThermo, solidThermo or lookup//Method for reading thermal conductivity.
        //q               uniform 1000; //q or Ta and h
        Ta              uniform 50.0;// sink temperature
        h               uniform 1000.0;//not really used anymore
        hpr             table (
                        (0 1019.52) //p, HTC [Pa, W/m2K]
                        (1e8 5383.56)
                        );
        value           uniform 220.0; //initial temperature [K]
        kappaName       none; // Custom field for thermal conductivity
    }
}

Note

The repository log contains all the modifications from the original code. This is a very quick modification. The code is not tidy. Pull request welcome (tidy up, add test case).

Feedback

Any feedback is apreciated - krebeljk gmail.com.

Author

  • Kristjan Krebelj

License

This project is licensed under the GPU License - see the LICENSE.md file for details.

Acknowledgments

About

Boundary condition for OpenFOAM v3.0.1. Heat transfer coefficient depends on pressure.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages