• Title/Summary/Keyword: 체적연산

Search Result 15, Processing Time 0.033 seconds

A study on application of GPU-accelerated kinematic wave rainfall-runoff model (GPU 가속 운동파 강우유출모형의 적용 연구)

  • Kim, Boram;Yun, Gwan Seon;Kim, Hyeong-Jun;Yoon, Kwang Seok
    • Proceedings of the Korea Water Resources Association Conference
    • /
    • 2020.06a
    • /
    • pp.323-323
    • /
    • 2020
  • 그래픽 처리 장치(Graphic Processing Unit: GPU)는 그래픽 처리 작업에 특화된 다수의 산술논리 장치(Arithmetic Logic Unit: ALU)로 구성되어 있어서 중앙 처리 장치(Central Processing Unit: CPU)보다 한 번에 더 많은 연산 수행이 가능하다. 본 연구는 GPU 가속 운동파모형을 실제 유역에 적용하여, GPU 가속 운동파 강우유출모형 결과에 대한 정확성과 연산 소요 시간에 대한 효율성을 확인하였다. GPU 가속 운동파모형은 분포형 강우유출모형의 수치모의 연산시간을 단축시키기 위해 CUDA 포트란을 이용하여 개발되었다. 분포형모형의 지배방정식은 운동파모형과 Green-Ampt모형으로 구성되었고, 운동파모형은 유한체적법을 이용하여 이산화 하였다. GPU 가속 운동파모형을 이용하여 금강의 미호천 유역에서 발생하는 강우유출현상을 모의 하였고, 동일한 유한체적법을 이용한 CPU(Central Processing Unit) 기반의 강우유출모형과 비교하였다. 그 결과 GPU 가속모형의 결과는 미호천 유역 하류단에서 관측한 결과와 유사한 결과를 나타냈다. 또한, 연산소요시간은 CPU 기반의 강우유출모형의 연산소요시간보다 단축되었으며, 본 연구에 사용된 장비를 기준으로 최대 100배 정도 단축되었다.

  • PDF

A Study On the Boolean Operation Of STL Format (STL 포맷의 BOOLEAN 연산에 대한 연구)

  • Son, Beom-Soo;Jeon, Eon-Chan
    • Journal of the Korean Society for Precision Engineering
    • /
    • v.22 no.9 s.174
    • /
    • pp.194-201
    • /
    • 2005
  • Recently, as Rapid Prototyping is attracting people's attention, many peoples are actively participating in the research on STL format. The STL files are transformed to be input for RP after modeling in CAD system. When the shape, however, needs to be changed or edited, it is impossible without the original data. So, if the original data is lost, new modeling is required. Therefore, this study suggests a way to edit the shape in STL format and to make the Boolean operation possible between the original and edited shapes. In addition, the reliability was confirmed after going over the errors of the edited data.

Analysis of Pollutant tranport in the natural river using FVM (유한체적법을 이용한 하천 오염물의 이송해석)

  • Park, Jae Hong
    • Proceedings of the Korea Water Resources Association Conference
    • /
    • 2020.06a
    • /
    • pp.207-207
    • /
    • 2020
  • 하천으로 유입된 오염물질의 거동을 정확하게 예측하는 것은 하천 시스템의 수질 유지관리에 매우 중요하다. 본 연구에서는 1차 감쇠율(decay rate)을 가진 비보존성 오염물의 비정상 이송해석 방정식의 해를 위해 유한체적기법이 개발되어졌다. 하천 흐름 해석을 위해 자연형 단면에서의 마름-젖음 해석이 가능한 기법이 도입되었다. 이 기법은 2차-정도의 정확성와 Courant 수가 1 까지 안정함을 보장한다. 도입된 기법은 Godnov 형의 유한체적기법을 이용하여 St. Venant 방정식들을 해석하였고 질량 및 운동량 플럭스는 Roe 형의 Riemann Solver 를 사용하여 연산하였다. 오염물의 이송 해석은 추가적인 이송-확산 방정식을 도입을 통해 기존의 St. Venant 방정식과 함께 풀려질 수 있다. 추가된 방정식과 St. Venant 식은 3×3 eigenstructure를 구성하였고 이는 2차원 흐름해석 기법과 유사하게 해석될 수 있었다. 본 연구 모형의 검증을 위해 오염물의 계속적 주입을 가정한 가상 및 실제 하천에 적용되었다. 연구된 기법은 모든 적용에서 합리적 정확도를 가지고 오염물질의 연속적인 특성을 잘 모의하고 있었다.

  • PDF

Development of Diffusive Wave Rainfall-Runoff Model Based on CUDA FORTRAN (CUDA FORTEAN기반 확산파 강우유출모형 개발)

  • Kim, Boram;Kim, Hyeong-Jun;Yoon, Kwang Seok
    • Proceedings of the Korea Water Resources Association Conference
    • /
    • 2021.06a
    • /
    • pp.287-287
    • /
    • 2021
  • 본 연구에서는 CUDA(Compute Unified Device Architecture) 포트란을 이용하여 확산파 강우 유출모형을 개발하였다. CUDA 포트란은 그래픽 처리 장치(Graphic Processing Unit: GPU)에서 수행하는 병렬 연산 알고리즘을 포트란 언어를 사용하여 작성할 수 있도록 하는 GPU상의 범용계산(General-Purpose Computing on Graphics Processing Units: GPGPU) 기술이다. GPU는 그래픽 처리 작업에 특화된 다수의 산술 논리 장치(Arithmetic Logic Unit: ALU)로 구성되어 있어서 중앙 처리 장치(Central Processing Unit: CPU)보다 한 번에 더 많은 연산 수행이 가능하다. 이에 따라, CUDA 포트란기반 확산파모형은 분포형 강우유출모형의 수치모의 연산시간을 단축시킬 수 있다. 분포형모형의 지배방정식은 확산파모형과 Green-Ampt모형으로 구성되었고, 확산파모형은 유한체적법을 이용하여 이산화 하였다. CUDA 포트란기반 확산파모형의 정확성은 기존 연구된 수리실험 결과 및 CPU기반 강우유출모형과 비교하였으며, 연산소요시간에 대한 효율성은 CPU기반 확산파모형과 비교하였다. 그 결과 CUDA 포트란기반 확산파모형의 결과는 수리실험 결과 및 CPU기반 강우유출모형의 결과와 유사한 결과를 나타냈다. 또한, 연산소요시간은 CPU 기반 확산파모형의 연산소요시간보다 단축되었으며, 본 연구에 사용된 장비를 기준으로 최대 100배 정도 단축되었다.

  • PDF

Development of GPU-accelerated kinematic wave model using CUDA fortran (CUDA fortran을 이용한 GPU 가속 운동파모형 개발)

  • Kim, Boram;Park, Seonryang;Kim, Dae-Hong
    • Journal of Korea Water Resources Association
    • /
    • v.52 no.11
    • /
    • pp.887-894
    • /
    • 2019
  • We proposed a GPU (Grapic Processing Unit) accelerated kinematic wave model for rainfall runoff simulation and tested the accuracy and speed up performance of the proposed model. The governing equations are the kinematic wave equation for surface flow and the Green-Ampt model for infiltration. The kinematic wave equations were discretized using a finite volume method and CUDA fortran was used to implement the rainfall runoff model. Several numerical tests were conducted. The computed results of the GPU accelerated kinematic wave model were compared with several measured and other numerical results and reasonable agreements were observed from the comparisons. The speed up performance of the GPU accelerated model increased as the number of grids increased, achieving a maximum speed up of approximately 450 times compared to a CPU (Central Processing Unit) version, at least for the tested computing resources.

Numerical Prediction of Incompressible Flows Using a Multi-Block Finite Volume Method on a Parellel Computer (병렬 컴퓨터에서 다중블록 유한체적법을 이용한 비압축성 유동해석)

  • Kang, Dong-Jin;Sohn, Jeong-Lak
    • The KSFM Journal of Fluid Machinery
    • /
    • v.1 no.1 s.1
    • /
    • pp.72-80
    • /
    • 1998
  • Computational analysis of incompressible flows by numerically solving Navier-Stokes equations using multi-block finite volume method is conducted on a parallel computing system. Numerical algorithms adopted in this study $include^{(1)}$ QUICK upwinding scheme for convective $terms,^{(2)}$ central differencing for other terms $and^{(3)}$ the second-order Euler differencing for time-marching procedure. Structured grids are used on the body-fitted coordinate with multi-block concept which uses overlaid grids on the block-interfacing boundaries. Computational code is parallelized on the MPI environment. Numerical accuracy of the computational method is verified by solving a benchmark test case of the flow inside two-dimensional rectangular cavity. Computation in the axial compressor cascade is conducted by using 4 PE's md, as results, no numerical instabilities are observed and it is expected that the present computational method can be applied to the turbomachinery flow problems without major difficulties.

  • PDF

Development of nearshore sediment transport numerical model based on GPU engine (GPU 엔진 기반 연안의 실시간 유사이송 수치모형 개발)

  • Noh, Junsu;Son, Sangyoung
    • Proceedings of the Korea Water Resources Association Conference
    • /
    • 2022.05a
    • /
    • pp.177-177
    • /
    • 2022
  • 기후변화 및 해안 구조물의 증가 등 여러 원인이 연안침식 및 해안선 변화와 같은 연안의 지형변화를 가속하고 있다. 빠르게 변화하는 연안의 지형변화예측 및 대응책 강구를 위해서는 연안의 유사이송 현상에 대한 신속한 예측이 필요하다. 본 연구에서는 GPU 엔진 기반 파랑해석모형인 Celeris Advent를 활용하여 실시간으로 연안의 유사이송 모의가 가능한 수치모형을 개발하였다. Celeris Advent는 GPU의 병렬코어를 활용해 실시간 연산과 GUI를 통한 사용자와의 실시간 상호작용이 가능한 모형이다. 지배방정식은 확장형 Boussinesq 방정식에 유사이송방정식을 양방향 결합하여 구성하였고, 지배방정식에는 하이브리드 유한체적-유한차분 수치기법을 적용하여 이송항은 유한체적법(Kurganov & Petrova, 2007), 소스항은 유한차분법을 통해 이산화하여 해석한다. 유사이송방정식은 수심적분형 이송확산방정식에 침식 및 퇴적 플럭스를 반영하는 소스항을 결합하여, 이송항 및 확산항을 통해 유사의 이송/확산을 고려함과 동시에 소스항을 통해 하상과의 상호작용을 고려하였다.

  • PDF

Haptic Interface with Deformable Finite Element Model (유한요소 모델링을 통한 변형체의 햅틱 인터페이스)

  • Jun, Seong-Ki;Choi, Jin-Bok;Cho, Maeng-Hyo
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2005.11b
    • /
    • pp.619-621
    • /
    • 2005
  • 햅틱 장치를 이용한 변형체의 실시간 시뮬레이션은 가상현실을 구축하기 위한 중요한 기술의 하나로서 최근에 크게 각광받고 있다. 본 연구에서는 햅틱 장비와 변형체의 정확한 인터페이스를 구축하기 위하여 변형체의 물리적 특성을 고려한 연속체적 모델인 유한요소법을 통한 선행해석을 수행한다. 변형체와 햅틱 장치의 상호작용 과정에서 발생하는 변형과 반력을 사용자에게 실시간으로 제공하기 위하여 선행해석 결과를 이용한 변형체의 정적 시뮬레이션을 구현한다. 이와 함께 햅틱 장치와 접촉이 이루어지는 부분의 변형을 보다 자연스럽게 표현하기 위하여 적응적 유한요소법인 s-adaptive 방법을 적용하였으며 햅틱 장치와 접촉이 끝난 후의 변형체가 평형 상태로 돌아가는 과정을 모사하기 위하여 Newmark scheme을 통한 동적 시뮬레이션을 구현한다. 또한 최적화 행렬 연산 함수인 BLAS와 LAPACK을 이용하여 행렬 연산을 빠르게 수행하고 효율적인 메모리 사용 추구한다.

  • PDF

A 2D GPU-Accelerated High Resolution Numerical Scheme for Solving Diffusive Wave Equation (고해상도 수치기법을 이용한 GPU 기반 2D 확산파 모형)

  • Park, Seonryang;Kim, Dae-Hong
    • Proceedings of the Korea Water Resources Association Conference
    • /
    • 2019.05a
    • /
    • pp.109-109
    • /
    • 2019
  • 본 연구에서는 강우-유출 과정 모의를 위한 GPU 기반 확산파 모형을 개발하였다. 확산파 방정식을 풀기위한 수치기법으로는 유한체적법을 이용하였으며, van Leer TVD limiter를 적용한 MUSCL 기법을 이용하여 각 셀의 인터페이스의 물리적 성질을 재구성하여 구하였다. 또한, 침투를 고려하기 위하여 Horton 침투 모형을 이용하였다. 개발된 모형을 이용하여 1D single overland plane과 2D V-shaped overland에서 강우-유출 과정을 모의실험을 하였으며, 각각 해석해와 dynamic wave model을 이용하여 계산된 수치 결과와 비교하여 본 모형의 정확성을 검증하였다. 또한, 1D와 2D의 기복이 심한 지형에 적용하여 강우-유출과정이 본 모형을 통하여 물리적으로 타당한 해석이 가능함을 검증하였다. 마지막으로 복잡한 실제 지형에 적용하였으며, 측정값과의 비교를 통하여 실제 유역에서의 확산파 모형의 적정성을 검증하였다. 또한, 본 연구에서는 NVIDIA사의 GPU인 Geforce GTX 1050과 GPU의 병렬 연산 처리 능력을 활용할 수 있는 NVIDIA사의 CUDA-Fortran을 이용하여 GPU 기반 확산파 모형을 개발하였다. PC windows에서 CPU(Intel i7, 4.70 GHz) 기반 모형 대비 GPU 기반 모형의 계산속도 성능을 비교한 결과, 격자 간격이 증가할수록 CPU 기반 모형 대비 GPU 기반 모형의 연산 효율이 증가하였으며, 격자 간격이 $3200{\times}3200$일 때, CPU 기반 모형 대비 GPU 기반 모형의 연산 효율이 최대 약 150배 증가하였다.

  • PDF

Relationship Analysis of Volumetric Water Content According to the Dielectric Constant for Stability Analysis of Ground Excavation (굴착의 안정성에 미치는 영향인자 분석을 위한 전자기적 유전상수와 체적함수비와의 상관관계 분석기법 연구)

  • Han, Yushik;Sohn, Hee Jeung;Yoo, Ki Cheong
    • Geophysics and Geophysical Exploration
    • /
    • v.19 no.3
    • /
    • pp.153-163
    • /
    • 2016
  • In order to prevent ground collapses by groundwater level drawdown, we need to understand the groundwater flow and also make an analytical approach to the cause of the collapses. In this study, we used the result of the soil lab tests to compare and review the suitability of the various interaction equations about the relation between volumetric water content and the dielectric constant. In addition, using GPR (Ground-Penetrating Radar), we reviewed the possibility of calculating an estimate of dielectric constant. Lastly, we applied seepage analysis and stress-strain analysis to the sandy ground given by ground excavation. In comparison with the previous result of the soil lab tests, we similarly predicted the suction of unsaturated soil from results of stress-strain analysis considered the seepage force for the unsaturated soil.