• 제목/요약/키워드: Code Optimization

검색결과 589건 처리시간 0.025초

SIMP 기반 절점밀도법에 의한 3 차원 위상최적화 (3-D Topology Optimization by a Nodal Density Method Based on a SIMP Algorithm)

  • 김철;팡난
    • 대한기계학회:학술대회논문집
    • /
    • 대한기계학회 2008년도 추계학술대회A
    • /
    • pp.412-417
    • /
    • 2008
  • In a traditional topology optimization method, material properties are usually distributed by finite element density and visualized by a gray level image. The distribution method based on element density is adequate for a great mass of 2-D topology optimization problems. However, when it is used for 3-D topology optimization, it is always difficult to obtain a smooth model representation, and easily appears a virtualconnect phenomenon especially in a low-density domain. The 3-D structural topology optimization method has been developed using the node density instead of the element density that is based on SIMP (solid isotropic microstructure with penalization) algorithm. A computer code based on Matlab was written to validate the proposed method. When it was compared to the element density as design variable, this method could get a more uniform density distribution. To show the usefulness of this method, several typical examples of structure topology optimization are presented.

  • PDF

64-bit 자바스크립트 적시 컴파일러를 위한 상수 값 생성 최적화 (Optimizing Constant Value Generation in Just-in-time Compiler for 64-bit JavaScript Engine)

  • 최형규;이제형
    • 정보과학회 논문지
    • /
    • 제43권1호
    • /
    • pp.34-39
    • /
    • 2016
  • 자바스크립트는 웹 페이지에서 HTML과 더불어 널리 사용되고 있다. 많은 자바스크립트 수행 엔진들은 성능 향상을 위해 적시 컴파일러를 채택하고 있다. 최근에는 32-bit 뿐만 아니라 64-bit 마이크로프로세서가 탑재된 다양한 기기가 소개되고 있으며 이를 위한 적시 컴파일러도 개발되고 있다. 하지만 64-bit 적시 컴파일러는 아직 문제점이 많으며, 특히 메모리 주소와 값들이 64-bit을 사용하여 코드의 크기가 증가하는 문제점이 있다. 본 논문은 64-bit 환경에서 생성되는 코드, 특히 주소와 상수 값들이 더 많은 공간을 사용함을 보여주고, 적시 컴파일러가 64-bit 값들의 생성을 최적화하여 메모리 사용량을 줄이는 기법들을 제안한다. 이를 V8 자바스크립트 엔진에 적용하여, Octane과 SunSpider 벤치마크에서 생성되는 코드의 크기와 성능을 평가하였다. 성능은 각각 3.6%와 0.32% 향상되었으며, 코드 크기는 0.7%와 2.8% 감소하였다.

Itanium상의 자바 적시 컴파일러를 위한 가벼운 루프 불변 코드 이동 (Lightweight Loop Invariant Code Motion for Java Just-In-Time Compiler on Itanium)

  • 유준민;최형규;문수묵
    • 한국정보과학회논문지:소프트웨어및응용
    • /
    • 제32권3호
    • /
    • pp.215-226
    • /
    • 2005
  • 루프 불변 코드 이동(loop invariant code motion, LICM) 컴파일러 최적화는 비교적 많은 분석 작업을 필요로 하기 때문에 컴파일 시간이 수행 시간의 일부가 되는 자바 적시(Just-In-Time) 컴파일러에는 사용하기 쉽지 않다. "전통적인" LICM 기법에서는 보통 코드를 분석하여 레지스터의 정의-사용체인과 사용-정의 체인을 미리 만든 뒤 이를 바탕으로 코드 이동을 수행하는 데, 본 논문은 자바 가상 머신(Java virtual machine)이 스택 머신 (stack machine)이라서 좀 더 단순한 코드 형태를 생성한다는 특징을 이용하여 정의-사용 체인을 루프 불변 코드에 대해서만 만들고 사용-정의 체인 없이도 정확히 동작하는 알고리즘을 제시한다. 또한 기존의 방식보다 더 많은 루프 불변 코드 이동을 하게 하는 두 가지 방법을 제시한다. 우선, 간단하기 때문에 루프에 경로가 하나인 경우만 LICM을 적용하는 기존의 기법과 달리, 경로가 여러 개인 루프에서도 부분적으로 중복되는 코드에 대해서도 LICM을 안전하게 적용한다. 또한 부분적으로 중복되는 루프 불변 널(null) 포인터 체크 코드도 Itanium의 조건 수행(predication)을 이용하여 이동시키다. 제안된 기법은 Itanium 마이크로프로세서를 위한 인텔의 ORP(Open Runtime Platform) 자바 가상 머신 위의 적시 컴파일러에 구현하였다. SPECjvm98 벤치마크에 대해 실험을 수행한 결과 전체 적시 컴파일 시간을 1.3% 정도만을 증가시켰지만 전체 수행 시간을 기하 평균으로 2.2% 향상 시켰다.

Scenario based optimization of a container vessel with respect to its projected operating conditions

  • Wagner, Jonas;Binkowski, Eva;Bronsart, Robert
    • International Journal of Naval Architecture and Ocean Engineering
    • /
    • 제6권2호
    • /
    • pp.496-506
    • /
    • 2014
  • In this paper the scenario based optimization of the bulbous bow of the KRISO Container Ship (KCS) is presented. The optimization of the parametrically modeled vessel is based on a statistically developed operational profile generated from noon-to-noon reports of a comparable 3600 TEU container vessel and specific development functions representing the growth of global economy during the vessels service time. In order to consider uncertainties, statistical fluctuations are added. An analysis of these data lead to a number of most probable upcoming operating conditions (OC) the vessel will stay in the future. According to their respective likeliness an objective function for the evaluation of the optimal design variant of the vessel is derived and implemented within the parametrical optimization workbench FRIENDSHIP Framework. In the following this evaluation is done with respect to vessel's calculated effective power based on the usage of potential flow code. The evaluation shows, that the usage of scenarios within the optimization process has a strong influence on the hull form.

유용방향법 최적화 알고리즘을 사용한 고유진동수에 대한 구조 최적설계 FEA 모듈 개발 (Structure Optimization FEA Code Development Under Frequency Constraints by Using Feasible Direction Optimization Method)

  • 조희근
    • 한국생산제조학회지
    • /
    • 제22권1호
    • /
    • pp.63-69
    • /
    • 2013
  • In order to find the optimum design of structures that have characteristic natural frequency range, a numerical optimization method to solving eigenvalue problems is a widely used approach. However in the most cases, it is difficult to decide the accurate thickness and shape of structures that have allowable natural frequency in design constraints. Parallel analysis algorithm involving the feasible direction optimization method and Rayleigh-Ritz eigenvalue solving method is developed. The method is implemented by using finite element method. It calculates the optimal thickness and the thickness ratio of individual elements of the 2-D plane element through a parallel algorithm method which satisfy the design constraint of natural frequency. As a result this method of optimization for natural frequency by using finite element method can determine the optimal size or its ratio of geometrically complicated shape and large scale structure.

2-단계 기포(氣砲)의 성능 최적화에 관한 연구 (Performance Optimization of the Two-Stage Gas Gun Based on Experimental Result)

  • 이진호;배기준;전권수;변영환;이재우;허철준
    • 한국추진공학회:학술대회논문집
    • /
    • 한국추진공학회 2003년도 제21회 추계학술대회 논문집
    • /
    • pp.145-150
    • /
    • 2003
  • The present study aims to optimize the performance of the Two-Stage Gas Gun by using the experimentally obtained data. RSM(Response Surface Method) was adopted in the optimization process to find the operating parameter than can maximize the projectile speed with the minimum number of tests. To decide the test points which results can consist of the response surface, 3$^{k}$ full factorial method was used, and the design variables were chosen with piston mass and 2$^{nd}$ driver fill pressure. The response surface was composed by nine test results and consequently the optimization was done with GENOCOP III, inherently GA code, in order to seek the optimal test point. The optimal test condition from the response surface was verified by the experiment. Results showed that the optimization process with response surface can successfully predict the test results fairly well. This study shows the possibility of performance optimization for the experimental facilities using numerical optimization algorithm.

  • PDF

Two-Dimensional Trajectory Optimization for Soft Lunar Landing Considering a Landing Site

  • Park, Bong-Gyun;Ahn, Jong-Sun;Tahk, Min-Jea
    • International Journal of Aeronautical and Space Sciences
    • /
    • 제12권3호
    • /
    • pp.288-295
    • /
    • 2011
  • This paper addresses minimum-fuel, two-dimensional trajectory optimization for a soft lunar landing from a parking orbit to a desired landing site. The landing site is usually not considered when performing trajectory optimization so that the landing problem can be handled. However, for precise trajectories for landing at a desired site to be designed, the landing site has to be considered as the terminal constraint. To convert the trajectory optimization problem into a parameter optimization problem, a pseudospectral method was used, and C code for feasible sequential quadratic programming was used as a numerical solver. To check the reliability of the results obtained, a feasibility check was performed.

컴파일러에 의한 C레벨 에러 체크 (Compiler triggered C level error check)

  • 정지문;윤종희;이종원;백윤흥
    • 정보처리학회논문지A
    • /
    • 제18A권3호
    • /
    • pp.109-114
    • /
    • 2011
  • IR(Intermediate Representation) 최적화 과정은 컴파일러 back-end의 중요한 부분으로서 sub-expression elimination, dead code elimination 등 최적화 기법들을 사용한다. 하지만 IR 최적화 단계에서 생기는 에러들을 검출하고 디버깅하는데 많은 어려움이 있다. 그 첫 번째 이유로는 컴파일 된 어셈블리 코드를 해독하여 에러를 체크하기 어렵고 두 번째로는 IR 최적화 단계에서 에러가 생겼는지 결정 짓기 어렵기 때문이다. 이런 이유들로 인하여, 우리는 C 레벨에서 IR 코드변환 무결점 여부를 체크하기 위한 기법들에 관한 연구를 진행하여 왔다. 우리는 MeCC(Memory Comparison-based Clone) 탐색기를 기반으로 하여, 최적화하기 전 IR코드와 최적화 한 후의 IR코드를 각각 C코드로 다시 변환한 뒤, 이 두 개의 C코드를 MeCC의 입력으로 주고, 결과의 일치 여부를 확인하는 방법을 사용한다. 하지만 MeCC가 완벽한 결과를 알려주지 않기 때문에, 우리는 각 IR 최적화 기법마다의 특징에 대한 정보를 사전에 처리해서 그 결과의 정확도를 높였다. 이 논문에서는 dead code elimination, instruction scheduling 및 common sub-expression elimination 등 최적화 기법들을 이용한 변환 코드들을 예시로 실험하여 최종적으로 MeCC에서의 C 레벨 코드의 정확한 에러 체크 동작여부를 보여준다.

등기하 개념에 기초한 구조부재의 형상 최적화 (Shape Optimization of Structural Members Based on Isogeometry Concept)

  • 이주성
    • 한국전산구조공학회논문집
    • /
    • 제24권1호
    • /
    • pp.61-67
    • /
    • 2011
  • 본 연구는 구조 시스템에서 중요 부위, 즉 응력이 집중되는 영역에서의 형상 최적화를 다룬 것이다. 등기하 해석은 기하학적 모델링(CAD)과 수치적 해석(CAE)을 통합하는 효율적인 방법으로 잘 알려져 있다. 이는 NURBS에 의한 기하학적 모델링을 직접 이용함으로써 이루어 질 수 있다. 본 연구에서는 등기하 개념을 도입한 효율적인 구조해석 컴퓨터 코드를 개발하였다. 여기에서는 CAD에 대한 정보를 유한요소 모델링에 직접 이용할 수 있다. 본 연구에서 개발한 코드의 타당성을 보이기 위해, 본 연구에서 개발한 코드에 의한 구조해석 결과를 유한요소해석 상용 패키지인 MSC/NASTRAN에 의한 결과와 비교하였다. 구조역학적인 문제에서 최적화를 다룰 수 있도록 본 연구의 등기하 해석 과정을 최적화 과정과 통합하였다. 본 시스템을 브라켓이 있는 외팔 구조의 형상 최적화에 성공적으로 적용하였다. 본 연구를 통해 개발한 시스템의 타당성을 검증하였다. 이 논문의 끝 부분에서는 본 연구방법의 실용적 적용성과 추후 연구에 대해 언급하였다.

MDO 프레임워크 개발을 위한 해석 코드 및 최적화 과정 통합에 관한 연구 (A Study on the Integration of Analysis Modules and the Optimization Process in the MDO Framework)

  • 조상오;이재우;변영환
    • 한국항공우주학회지
    • /
    • 제30권7호
    • /
    • pp.1-10
    • /
    • 2002
  • 설계 순기의 단축, 개발 비용의 절감, 제품 성능의 향상을 목적으로 하는 MDO(Multidisciplinary Design Optimization)의 적용이 가능한 프레임워크의 개발을 위하여 해석 자원의 통합 방안, 해석 및 최적화 과정의 관리 방안과 이를 위한 소프트웨어 구조를 제시하였다. 중앙집중식 DBMS(Data Base Management System)을 채택하였으며, 해석 코드의 통합 방안으로 DLL(Dynamic Link Library)을 이용하는 방법과 입출력 파일을 이용하는 방안을 제시하였다. 해석 및 최적화 과정과 데이터 흐름을 관리하는 방안으로 Graphic Programming의 개념을 도입하였다. 간단한 수치 예제와 삼차원 패널 코드를 이용한 항공기 날개의 형상 최적화에 적용하여 제시한 방안의 타당성을 검증하였다.