ホーム / ボディ属性の設定 / CFluidAttribute / プロパティ / MaterialName
MaterialName プロパティ
定義
MaterialName As string| 値の取得 | ○ | |
| 値の設定 | ○ |
引数
引数はありません解説
材料名を設定、取得します。実行例
Dim Femtet As New CFemtetDim Btr As CBodyAttribute
If Femtet.OpenNewProject() = False Then
Femtet.ShowLastError
End If
'Femtet.BodyAttributeを変数Btrに代入して使いやすくする
Set Btr = Femtet.BodyAttribute
Btr.Add "BodyAttributeA"
Btr.FluirAttribute(0).BodyType = FLUID_BODY_POROUS_C
Btr.FluirAttribute(0).PorousType = FLUID_POROUS_POROSITY_C
Btr.FluirAttribute(0).Gamma = 0.8
Btr.FluirAttribute(0).MaterialName = "001_アルミニウムAl"


