CFD OpenFoam Sauna: Difference between revisions

From wikiluntti
Line 16: Line 16:
=== 1 ===
=== 1 ===
=== 1 ===
=== 1 ===
=== 1 ===
=== Workflow ===
 
#Generate mesh
#* For example: blockMesh
#Run solver
#* Example: laplacianFoam or: buoyantSimpleFoam
# View results
#*paraFoam


=== Tutorials ===
=== Tutorials ===

Revision as of 15:28, 14 July 2026

Introduction

Use OpenFOAM to analyze the heating of water above sauna's oven. The problem is during the winter when the water freezes.

Other possibilities would be to create a simple Laplacian solver. but I'd like to include Navier-Stokes equations and perhaps energy equation: ice melts into water, water freezes, latent heat is released and the interfaces move.

OpenFOAM

1

1

1

Workflow

  1. Generate mesh
    • For example: blockMesh
  2. Run solver
    • Example: laplacianFoam or: buoyantSimpleFoam
  3. View results
    • paraFoam

Tutorials

ls $FOAM_TUTORIALS

Installation

Installation is a long process, it takes many hours using yay.

ofoam

Creating the mesh

gmsh

Gmsh to generate the triangles.

yay -S gmsh-bin

Analyzing

Results