nextFoam 사용법 - 경계조건
system/settings/boundaryConditions 파일에서 설정한다. 설정할 수 있는 경계조건은 다음과 같다.
1. velocityInlet
적용 경계조건
- U : fixedValue
- p : zeroGradient
- T : fixedValue
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type velocityInlet;
U uniform (value_x value_y value_z);
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
2. surfaceNormalVelocityInlet
적용 경계조건
- U : NEXT::surfaceNormalVelocity
- p : zeroGradient
- T : fixedValue
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type surfaceNormalVelocityInlet;
Umag uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
3. massFlowRateInlet
적용 경계조건
- U : flowRateInletVelocity
- p : zeroGradient
- T : inletOutletTotalTemperature
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type massFlowRateInlet;
massFlowRate uniform value;
T0 uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
4. volumeFlowRateInlet
적용 경계조건
- U : flowRateInletVelocity
- p : zeroGradient
- T : fixedValue
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type volumeFlowRateInlet;
volumeFlowRate uniform value;
T uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
5. pressureInlet
적용 경계조건
- U : pressureInletOutletVelocity
- p : totalPressure
- T : inletOutletTotalTemperature
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type pressureInlet;
p0 uniform value;
T 0 uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
6. pressureOutlet
적용 경계조건
- U : pressureInletOutletVelocity
- p : totalPressure
- T : inletOutletTotalTemperature
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type pressureInlet;
p0 uniform value;
T0 uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
7. pressureOutletExt
적용 경계조건
- U : pressureInletOutletVelocity
- p : totalPressure
- T : zeroGradient
- k : zeroGradient
- epsilon : zeroGradient
설정 방법
type pressureInlet;
p0 uniform value;
------------------------------------------------------------------
8. adiabaticWall
적용 경계조건
- U : fixedValue / slip / rotatingWallVelocity
- p : fixedFluxPressure
- T : zeroGradient
- k : kqRWallFunction
- epsilon : NEXT::epsilonWallFunction
- omega : NEXT::omegaBlendedWallFuction
- nut : NEXT::nutkWallFunction / NEXT::nutSpaldingWallFunction(kOmegaSST)
- alphat : compressible::alphatWallFunction
설정 방법
type adiabaticWall;
velocityMode noSlip;
U uniform (0 0 0);
//velocityMode rotating;
//origin (0 0 0);
//axis (0 0 1);
//omega 10;
//velocityMode translating;
//U uniform (1 0 0);
------------------------------------------------------------------
9. isoThermalWall
적용 경계조건
- U : fixedValue
- p : fixedFluxPressure
- T : fixedValue
- k : kqRWallFunction
- epsilon : NEXT::epsilonWallFunction
- omega : NEXT::omegaBlendedWallFuction
- nut : NEXT::nutkWallFunction / NEXT::nutSpaldingWallFunction(kOmegaSST)
- alphat : compressible::alphatWallFunction
설정 방법
type isoThermalWall;
U uniform (0 0 0);
T uniform 300;
------------------------------------------------------------------
10. externalHeatTransferWall
적용 경계조건
- U : fixedValue
- p : fixedFluxPressure
- T : NEXT::externalWallHeatFluxTemperature
- k : kqRWallFunction
- epsilon : NEXT::epsilonWallFunction
- omega : NEXT::omegaBlendedWallFuction
- nut : NEXT::nutkWallFunction / NEXT::nutSpaldingWallFunction(kOmegaSST)
- alphat : compressible::alphatWallFunction
설정 방법
type isoThermalWall;
mode flux; // coefficient;
U uniform (0 0 0);
q uniform 1000;
//h uniform 100; // for coefficient mode
//Ta uniform 300; // for coefficient mode
------------------------------------------------------------------
11. internalInterface
적용 경계조건
- cyclicAMI
설정 방법
type internalInterface;
coupleGroup <groupName>;
------------------------------------------------------------------
12. rotationalPeriodic
적용 경계조건
- cyclicAMI
설정 방법
type internalInterface;
coupleGroup <groupName>;
rotationAxis (0 0 1);
rotationCentre (0 0 0);
------------------------------------------------------------------
13. translationalPeriodic
적용 경계조건
- cyclicAMI
설정 방법
type internalInterface;
coupleGroup <groupName>;
separationVector (0 0 1);
(경계조건 추가 혹은 수정이 필요하면 ~/.OpenFOAM/6/API/boundaryTypes 을 수정하면 된다)
1. velocityInlet
적용 경계조건
- U : fixedValue
- p : zeroGradient
- T : fixedValue
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type velocityInlet;
U uniform (value_x value_y value_z);
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
2. surfaceNormalVelocityInlet
적용 경계조건
- p : zeroGradient
- T : fixedValue
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type surfaceNormalVelocityInlet;
Umag uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
3. massFlowRateInlet
적용 경계조건
- p : zeroGradient
- T : inletOutletTotalTemperature
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type massFlowRateInlet;
massFlowRate uniform value;
T0 uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
4. volumeFlowRateInlet
적용 경계조건
- p : zeroGradient
- T : fixedValue
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type volumeFlowRateInlet;
volumeFlowRate uniform value;
T uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
5. pressureInlet
적용 경계조건
- p : totalPressure
- T : inletOutletTotalTemperature
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type pressureInlet;
p0 uniform value;
T 0 uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
6. pressureOutlet
적용 경계조건
- p : totalPressure
- T : inletOutletTotalTemperature
- k : NEXT::turbulentIntensityInletOutletTKE
- epsilon : NEXT::viscosityRatioInletOutletTDR
설정 방법
type pressureInlet;
p0 uniform value;
T0 uniform value;
turbIntensity uniform value;
viscosityRatio uniform value;
------------------------------------------------------------------
7. pressureOutletExt
적용 경계조건
- p : totalPressure
- T : zeroGradient
- k : zeroGradient
- epsilon : zeroGradient
설정 방법
type pressureInlet;
p0 uniform value;
------------------------------------------------------------------
8. adiabaticWall
적용 경계조건
- p : fixedFluxPressure
- T : zeroGradient
- k : kqRWallFunction
- epsilon : NEXT::epsilonWallFunction
- omega : NEXT::omegaBlendedWallFuction
- nut : NEXT::nutkWallFunction / NEXT::nutSpaldingWallFunction(kOmegaSST)
- alphat : compressible::alphatWallFunction
설정 방법
type adiabaticWall;
velocityMode noSlip;
U uniform (0 0 0);
//velocityMode rotating;
//origin (0 0 0);
//axis (0 0 1);
//omega 10;
//velocityMode translating;
//U uniform (1 0 0);
//velocityMode slip;
//U uniform (0 0 0);
9. isoThermalWall
적용 경계조건
- p : fixedFluxPressure
- T : fixedValue
- k : kqRWallFunction
- epsilon : NEXT::epsilonWallFunction
- omega : NEXT::omegaBlendedWallFuction
- nut : NEXT::nutkWallFunction / NEXT::nutSpaldingWallFunction(kOmegaSST)
- alphat : compressible::alphatWallFunction
설정 방법
type isoThermalWall;
U uniform (0 0 0);
T uniform 300;
------------------------------------------------------------------
10. externalHeatTransferWall
적용 경계조건
- p : fixedFluxPressure
- T : NEXT::externalWallHeatFluxTemperature
- k : kqRWallFunction
- epsilon : NEXT::epsilonWallFunction
- omega : NEXT::omegaBlendedWallFuction
- nut : NEXT::nutkWallFunction / NEXT::nutSpaldingWallFunction(kOmegaSST)
- alphat : compressible::alphatWallFunction
설정 방법
type isoThermalWall;
mode flux; // coefficient;
U uniform (0 0 0);
q uniform 1000;
//h uniform 100; // for coefficient mode
//Ta uniform 300; // for coefficient mode
------------------------------------------------------------------
11. internalInterface
적용 경계조건
설정 방법
type internalInterface;
coupleGroup <groupName>;
------------------------------------------------------------------
12. rotationalPeriodic
적용 경계조건
설정 방법
type internalInterface;
coupleGroup <groupName>;
rotationAxis (0 0 1);
rotationCentre (0 0 0);
------------------------------------------------------------------
13. translationalPeriodic
적용 경계조건
설정 방법
type internalInterface;
coupleGroup <groupName>;
separationVector (0 0 1);
댓글
댓글 쓰기