재료 클래스

재료 클래스를 사용하여 내부 팬 및 분산 저항과 같은 재료 객체에 대한 방향 정의를 지정할 수 있습니다. 재료는 다음과 같은 해석 메서드를 사용하여 지정됩니다.

a.applyMaterial(materialname)

재료 클래스 특성

재질 특성유형

유형

문자열“유체", "솔리드", "저항”, “내부 팬/펌프”, “원심 펌프/송풍기”, “체크 밸브”, “회전 영역”, “2 저항기 전기 구성요소”, “인쇄 회로 기판", "압축 열 모형", "접촉 저항"

name

문자열 

alignment

문자열"직교", "비직교”, “원통형"

inletFaces

배열 

outletFaces

배열 

analysisType

문자열“알려진 회전 속도”, “알려진 추진 토크”, “자유 회전”

thermostat(value)

문자열"켜기" 또는 "끄기"

thermostatLocation

정수온도 조절 표면의 표면 ID

thermostatTriggerTemperature

 

thermostatTriggerTemperatureUnits

문자열"Fahrenheit", "Celsius", "Rankine", "Kelvin"

thermostatTriggerType

문자열"트리거 초과", "트리거 미만"

재료 클래스 메서드

재료 메서드설명데이터 반환 여부

m = new Material(type)

이름 m의 새 재료 객체를 작성합니다(어느 것이든 가능). type = 문자열

아니오

property(유형)

재료 유형의 특성을 반환합니다. type = 문자열

setShellThickness(thickness, units)

쉘 두께(표면 부품)를 설정합니다. thickness = 숫자, units = 문자열

아니오

setDirectionNormalTo(e)

reverseDirection()

setDirection(x, y, z)

setOrigin(x, y, z)

팬, 송풍기, 체크 밸브의 장치 방향을 설정합니다.

e = 도면요소 객체;

x, y, z = 숫자

아니오

setDirections(through, normal1, normal2)

setNormalDirectionNormalTo(e)

setNormalDirection(x, y, z)

저항 방향을 설정합니다.

through, normal1 및 normal2 = 문자열

e = 도면요소 객체;

x, y, z = 숫자

아니오

readFrom(m)

재료 m을 이 재료에 복사합니다.

아니오

setReferenceGasConstant(value, units)

value = 가스 상수 값, units = 문자열(UI에서 사용 가능한 단위 확인)

아니오

setReferencePressure(value, units)

value = 참조 압력, unites = 문자열(UI에서 사용 가능한 단위 확인)

아니오

setReferenceTemperature(value, units)

value = 참조 온도, unites = 문자열(UI에서 사용 가능한 단위 확인)

아니오

setThermostatTriggerTemperature (value, units)

value = 온도 조절 트리거 온도, unites = 문자열(UI에서 사용 가능한 단위 확인)

아니오