Difference between revisions of "Contrib icoDyMFoam"

From OpenFOAMWiki
m (Fixed animation path)
(Adde case and solver tar balls)
Line 10: Line 10:
  
 
So, we have standard cavity case extruded in Oz direction. Initial conditions  and BCs are the same. Additionally we have passive scalar T, initialized at the center of cavity within a 0.02x0.02x0.02 m3 box with identity value.
 
So, we have standard cavity case extruded in Oz direction. Initial conditions  and BCs are the same. Additionally we have passive scalar T, initialized at the center of cavity within a 0.02x0.02x0.02 m3 box with identity value.
Diffusion coefficient is defined, so the scalar is transported and diffused within the time.  
+
Diffusion coefficient is defined, so the scalar is transported and diffused within the time. Mesh refinement is made for the cells where T =0.5 ... 1.
 
+
  
 
Check what we've got with mesh refinement.
 
Check what we've got with mesh refinement.
Line 22: Line 21:
  
 
==  Files ==
 
==  Files ==
 +
Be aware of the small time step, because we do not make Courant number control, and refined cell can be pretty small!
 +
 +
[[Media:Cavity3d.tar.gz]]
 +
 +
[[Media:IcoDyMFoam.tar.gz]]
 +
 +
  
  

Revision as of 22:35, 28 May 2011

Valid versions: OF version 16.png OF version 17.png

1 Introduction

This example was inspired by the report of Anne Kösters: Dynamic mesh refinement in dieselFoam. Here you will find source code of the icoDyMFoam solver, cavity3d example case (note, that dymicRefineFvMesh class does not work with 2D case).


2 Results

So, we have standard cavity case extruded in Oz direction. Initial conditions and BCs are the same. Additionally we have passive scalar T, initialized at the center of cavity within a 0.02x0.02x0.02 m3 box with identity value. Diffusion coefficient is defined, so the scalar is transported and diffused within the time. Mesh refinement is made for the cells where T =0.5 ... 1.

Check what we've got with mesh refinement. Media:IcoDyMFoam_cavity3d.gif


3 Outlook

4 Files

Be aware of the small time step, because we do not make Courant number control, and refined cell can be pretty small!

Media:Cavity3d.tar.gz

Media:IcoDyMFoam.tar.gz



5 History

  • 28-05-2011: Initial upload

--Makaveli lcf 23:53, 28 May 2011 (CEST)