============================================================
CFD_LP
OPENFOAM 9 CFD PROJECT
============================================================

PROJECT
------------------------------------------------------------

This directory contains the complete OpenFOAM 9 computational
study of convective heat transfer in a rectangular air channel.

Two configurations are investigated:

    1. Channel without longitudinal fins
    2. Channel with four longitudinal fins

The study includes:

    - Geometry preparation
    - STL-based geometry processing
    - Mesh generation
    - Mesh-independence studies
    - Steady-state CFD simulations
    - Multiple Reynolds-number cases
    - Post-processing
    - Temperature analysis
    - Heat-transfer analysis
    - Comparison between finned and no-fin configurations


============================================================
1. SOFTWARE
============================================================

Operating system:

    Ubuntu 22.04

CFD software:

    OpenFOAM 9

Solver:

    buoyantSimpleFoam

Visualization:

    ParaView / paraFoam

Geometry and mesh preparation:

    ANSYS
    STL
    snappyHexMesh


============================================================
2. PHYSICAL MODEL
============================================================

Working fluid:

    Air

Flow regime:

    Laminar

Reynolds numbers:

    Re = 1000
    Re = 1500
    Re = 3000
    Re = 6000

Inlet temperature:

    Tin = 298.15 K

Applied heat flux:

    q'' = 1540 W/m2


============================================================
3. GEOMETRY
============================================================

Rectangular channel:

    Length = 0.60 m
    Width  = 0.30 m
    Height = 0.10 m

Heated base:

    Length    = 0.60 m
    Width     = 0.30 m
    Thickness = 0.001 m


FINNED CONFIGURATION
------------------------------------------------------------

Number of fins:

    4

Each fin:

    Length    = 0.60 m
    Width     = 0.025 m
    Thickness = 0.001 m


============================================================
4. DIRECTORY STRUCTURE
============================================================

CFD_LP/
|
|-- README
|
|-- Mesh/
|   `-- fluidDomain.stl      (shared STL; each finned case's Allrun
|                             copies it into constant/triSurface/)
|
|-- Actual_cases/
|   |
|   |-- FIN/
|   |   |-- README
|   |   |-- Re_1000/
|   |   |-- Re_1500/
|   |   |-- Re_3000/
|   |   `-- Re_6000/
|   |
|   `-- NO_FIN/
|       |-- README
|       |-- Re_1000/
|       |-- Re_1500/
|       |-- Re_3000/
|       `-- Re_6000/
|
`-- Mesh_independence_study/
    |
    |-- FIN/
    |   |-- README
    |   |-- Re1000/
    |   |   |-- Coarse/
    |   |   |-- Moderate/
    |   |   |-- Fine/
    |   |   `-- Ultrafine/
    |   |
    |   |-- Re1500/
    |   |   |-- Coarse/
    |   |   |-- Moderate/
    |   |   |-- Fine/
    |   |   `-- Ultrafine/
    |   |
    |   |-- Re3000/
    |   |   |-- Coarse/
    |   |   |-- Moderate/
    |   |   |-- Fine/
    |   |   `-- Ultrafine/
    |   |
    |   `-- Re6000/
    |       |-- Coarse/
    |       |-- Moderate/
    |       |-- Fine/
    |       `-- Ultrafine/
    |
    `-- NO_FIN/
        |-- README
        |-- Re1000/
        |   |-- Coarse/
        |   |-- Moderate/
        |   |-- Fine/
        |   `-- Ultrafine/
        |
        |-- Re1500/
        |   |-- Coarse/
        |   |-- Moderate/
        |   |-- Fine/
        |   `-- Ultrafine/
        |
        |-- Re3000/
        |   |-- Coarse/
        |   |-- Moderate/
        |   |-- Fine/
        |   `-- Ultrafine/
        |
        `-- Re6000/
            |-- Coarse/
            |-- Moderate/
            |-- Fine/
            `-- Ultrafine/


============================================================
5. ACTUAL SIMULATION CASES
============================================================

The Actual_cases directory contains the final selected-mesh
simulations.

For each configuration, simulations are performed at:

    Re1000
    Re1500
    Re3000
    Re6000

Each Reynolds-number directory contains:

    0/
    constant/
    system/
    Allrun
    Allclean


============================================================
6. MESH-INDEPENDENCE STUDY
============================================================

Mesh independence is performed for ALL Reynolds-number cases.

The study is carried out separately for:

    1. Finned configuration
    2. No-fin configuration

Reynolds numbers investigated:

    Re1000
    Re1500
    Re3000
    Re6000

For every Reynolds-number case, four mesh levels are used:

    Coarse
    Moderate
    Fine
    Ultrafine


============================================================
7. MESH-INDEPENDENCE CRITERION
============================================================

The outlet temperature is used as the principal monitored
quantity.

The outlet temperature obtained from successive mesh levels
is compared to determine the sensitivity of the solution to
mesh refinement.

Relative deviation:

    Relative deviation (%) =
    |T_new - T_old| / T_old x 100

Mesh selection considers:

    - Outlet-temperature variation
    - Numerical convergence
    - Mesh quality
    - Computational cost


============================================================
8. GENERAL SIMULATION WORKFLOW
============================================================

    Geometry preparation
            |
            v
    STL generation
            |
            v
    STL surface verification
            |
            v
    blockMesh
            |
            v
    surfaceFeatures
            |
            v
    snappyHexMesh
            |
            v
    topoSet / createPatch
            |
            v
    checkMesh
            |
            v
    Boundary-condition verification
            |
            v
    buoyantSimpleFoam
            |
            v
    Convergence
            |
            v
    ParaView / Post-processing
            |
            v
    Temperature / velocity / pressure /
    heat-transfer analysis


============================================================
9. POST-PROCESSING
============================================================

Typical quantities extracted include:

    - Inlet temperature
    - Outlet temperature
    - Heated-wall temperature
    - Fin/base-wall temperature
    - Sidewall temperature
    - Top-wall temperature
    - Wall heat flux
    - Velocity
    - Pressure

Visualization:

    paraFoam


============================================================
10. CASE ORGANIZATION
============================================================

Actual_cases:

    Contains the final production simulations.

Mesh_independence_study:

    Contains the systematic comparison of different mesh
    resolutions for every Reynolds-number case and both
    geometrical configurations.


============================================================
END OF CFD_LP README
============================================================
