|
[Sponsors] |
May 21, 2013, 09:23 |
Compute Zalesak's disk
|
#1 |
New Member
jianfeng zou
Join Date: Feb 2013
Posts: 6
Rep Power: 13 |
Hi, everyone. I want to test the performance of the solver of interFoam by computing the solid rotation of Zalesak's disk. I set up a simulation as following:
1) First, I comment the Pressure-velocity PIMPLE corrector loop in the main source file 'interFoam.C' lived in the directory of interFoam solver. // --- Pressure-velocity PIMPLE corrector loop /* while (pimple.loop()) { #include "UEqn.H" // --- Pressure corrector loop while (pimple.correct()) { #include "pEqn.H" } if (pimple.turbCorr()) { turbulence->correct(); } } */ 2) Generate a intial field with funkySetField. The funkySetFieldsDict is as following: expressions ( circleVel { field U; expression "vector(0,0,6.28)^(pos()-vector(0.0,0.0,0.0))"; } circleP { field p_rgh; expression "0"; } diskGamma0 { field alpha1; expression "1"; condition "pow(pos().x-0.0,2) + pow(pos().y-0.25,2) < pow(0.15,2)"; } diskGamma1 { field alpha1; expression "0"; condition "pos().x > -0.025 && pos().x < 0.025 && pos().y > 0.15 && pos().y < 0.5"; } ); 3) But the Zalesak's disk loses its sharp shape very soon, the following is the result at t=0.25 s. |
|
May 23, 2013, 11:19 |
|
#2 |
Member
Join Date: Nov 2012
Posts: 83
Rep Power: 13 |
what is your courant number?
|
|
August 28, 2019, 05:30 |
|
#3 | |
Senior Member
Nguyen Duy Trong
Join Date: Apr 2014
Posts: 124
Rep Power: 12 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ActuatorDiskExplicitForce in OF2.1. Help | be_inspired | OpenFOAM Programming & Development | 10 | September 14, 2018 12:12 |
actuator disk | Atit | CFX | 9 | July 26, 2016 10:39 |
vof rotating disk 2d | bene | FLUENT | 1 | October 24, 2010 14:18 |
Actuator Disk Model | sujialin | CFX | 0 | April 18, 2010 17:29 |