OpenFOAM-1.6のsonicFoamについて

169 views
Skip to first unread message

ヤーチャゲ

unread,
Dec 16, 2009, 9:09:48 PM12/16/09
to OpenFOAM
はじめまして。僕は学校の研究でOpenFOAMを使用している者です。(かなりの初心者です)
現在OF-1.6のsonicFoamを用いて翼型の音速付近における解析を行っております。
(と言ってもチュートリアルの「prism」の形状を変更しただけです・・・)
それで、Ma=2においての解析は成功したのですが、Ma=0.8で設定するとエラーが起こってしまいます。
エラーの内容は以下のようなものです。

Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package
ePsiThermo<pureMixture<constTransport<specieThermo<eConstThermo<perfectGas>>>>>
Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type RASModel
Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
sigmak 1;
sigmaEps 1.3;
Prt 1;
}


Starting time loop

Time = 5e-07

Courant Number mean: 0.0726784 max: 1.37987
diagonal: Solving for rho, Initial residual = 0, Final residual = 0,
No Iterations 0


MachInf < 1.0, free stream must be supersonic
on patch bottomWall of field U in file "/home/afl/OpenFOAM/afl-1.6/
run/tutorials/compressible/sonicFoam/ras/naca/0/U"

From function supersonicFreestreamFvPatchVectorField::updateCoeffs
()
in file fields/fvPatchFields/derived/supersonicFreestream/
supersonicFreestreamFvPatchVectorField.C at line 175.

FOAM exiting

エラーの原因としてはUの境界タイプにsupersonicFreestreamというものを用いており、その場合にはMa>1でないと解析できないと
いうことだと思うのですが、
Ma<1で設定する時にどの境界を変更すればいいかということがまったく分かりません・・・
(学生なので流体力学やCFDについてはまだまだ知識不足です・・・)

具体的にどのフォルダのどの値を変更すればいいかということを教えていただけないでしょうか?よろしくお願いします。

Reply all
Reply to author
Forward
0 new messages