• Title/Summary/Keyword: Python scripting

Search Result 8, Processing Time 0.414 seconds

A Study on the Suitability of Scripting Language in Metaverse Development (메타버스 개발과 스크립팅 언어 적합성에 관한 연구)

  • Hwa-Seon Choi
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2023.01a
    • /
    • pp.299-300
    • /
    • 2023
  • 최근 인공지능의 현실화와 더불어 프로그래밍 언어인 Python의 독주가 한창이다. 그렇다면 과연 메타버스 시대가 현실화 된다면 어떤 프로그래밍 언어가 대세가 될 것인가. 현재 메타버스 플랫폼인 로블록스에서 사용되고 있는 루아스크립트, 제페토 월드에서 사용되고 있는 Typescript에서 착안해서 미래의 메타버스 개발에 공용으로 사용될 효율적인 언어를 살펴보았다.

  • PDF

A 3D RVE model with periodic boundary conditions to estimate mechanical properties of composites

  • Taheri-Behrooz, Fathollah;Pourahmadi, Emad
    • Structural Engineering and Mechanics
    • /
    • v.72 no.6
    • /
    • pp.713-722
    • /
    • 2019
  • Micromechanics is a technique for the analysis of composites or heterogeneous materials which focuses on the components of the intended structure. Each one of the components can exhibit isotropic behavior, but the microstructure characteristics of the heterogeneous material result in the anisotropic behavior of the structure. In this research, the general mechanical properties of a 3D anisotropic and heterogeneous Representative Volume Element (RVE), have been determined by applying periodic boundary conditions (PBCs), using the Asymptotic Homogenization Theory (AHT) and strain energy. In order to use the homogenization theory and apply the periodic boundary conditions, the ABAQUS scripting interface (ASI) has been used along with the Python programming language. The results have been compared with those of the Homogeneous Boundary Conditions method, which leads to an overestimation of the effective mechanical properties. According to the results, applying homogenous boundary conditions results in a 33% and 13% increase in the shear moduli G23 and G12, respectively. In polymeric composites, the fibers have linear and brittle behavior, while the resin exhibits a non-linear behavior. Therefore, the nonlinear effects of resin on the mechanical properties of the composite material is studied using a user-defined subroutine in Fortran (USDFLD). The non-linear shear stress-strain behavior of unidirectional composite laminates has been obtained. Results indicate that at arbitrary constant stress as 80 MPa in-plane shear modulus, G12, experienced a 47%, 41% and 31% reduction at the fiber volume fraction of 30%, 50% and 70%, compared to the linear assumption. The results of this study are in good agreement with the analytical and experimental results available in the literature.

A Case Study on Running a Game-based Programming Class for Lower Grades (저학년을 위한 게임 기반 프로그래밍 수업 운영 사례 연구)

  • Do-hyeon Choi
    • Journal of Practical Engineering Education
    • /
    • v.16 no.2
    • /
    • pp.151-157
    • /
    • 2024
  • Most of the existing game-based education programmes for lower grades are simple block-coding studies, and there is a lack of examples of programming-intensive classes. In this study, we implemented a Minecraft-based Python coding fundamentals class for 3 classes at a local elementary school during a 2-week school holiday. The learning programme was reorganised from the standard learning programme on the official website, such as building quests through LAN-PARTY and self-scripting in-game, to improve class interest and motivation. In addition, we analysed the satisfaction and preferences of the class topics through a survey, and obtained meaningful results for future educational program development. This study is significant as a basic research for the design and development of game-based educational programmes for all age groups.

Comparing Scripting Languages: From the Viewpoint of Programming Facilities (스크립트 언어 비교: 프로그래밍 편의성 관점에서)

  • Jang Hanil;Lee Dongju;Ji JungHoon;Woo Gyun;Kim Won-Young;Choi Wan
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2005.11b
    • /
    • pp.973-975
    • /
    • 2005
  • 스크립트 언어는 모듈의 결합이나 조정 등의 여러 목적으로 쓰이고 있는 언어이다. 스크립트 언어는 사용의 편리함과 높은 생산성으로 인해 널리 사용되고 있다. 그러나 현재 너무나 많은 스크립트 언어가 개발$\cdot$제시되고 있어 프로그래머가 스크립트 언어를 선택해야 할 때 어떤 언어를 선택해야 할지 판단하기 힘든 실정이다. 이에 본 논문에서는 프로그래밍 편의성 관점에서의 비교 기준을 제시하고 대표적인 스크립트 언어(VB script, Ruby, Perl, Python, Tcl, Lua, Groovy)를 이 기준에 따라 비교하였다. 비교 결과 각 비교 분야에 강점을 보이는 언어를 발견하였다. 본 논문의 결과는 스크립트 언어를 선택하는데 도움이 될 것이다.

  • PDF

On-box Container-based Switch Configuration Automation Technology to Minimize Network Interruption (네트워크 중단 최소화를 위한 On-Box 컨테이너 기반 스위치 설정 자동화 기술)

  • Gyoung-Hwan Yoo;Taehong Kim
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.19 no.3
    • /
    • pp.141-149
    • /
    • 2024
  • This paper proposes a configuration automation technique to minimize service interruption time in the event of a corporate network access layer switch failure. The automation is achieved without the need for a separate external system, as the network setting information is stored in a container inside the switch, enabling rapid recovery without requiring separate storage. This approach ensures the continuity of network services and demonstrates the efficiency of configuration automation. The proposed technique improves corporate network stability by providing a quick response in the event of a failure.

Software Design of CQUEAN

  • Jeong, Hyeon-Ju;Park, Won-Kee;Kim, Eun-Bin;Choi, Chang-Su;Pak, Soo-Jong;Im, Myung-Shin;Kim, Jung-Hoon
    • The Bulletin of The Korean Astronomical Society
    • /
    • v.35 no.1
    • /
    • pp.39.1-39.1
    • /
    • 2010
  • We are developing a CCD camera named CQUEAN (Camera for Quasars in Early Universe) to search for quasars at z > 7. CQUEAN has a 1024*1024 deep depletion CCD chip and will be attached to 2.1m Otto-Struve Telescope at McDonald Observatory, USA. Although commercial software for the CCD camera is provided by the vendor, we are going to develop our own software to control the other instruments as well, to carry out efficient observation. There are four major parts in our software: Instrument control part controls the camera and filter wheel to obtain imaging data. Quick look window is to display acquired imaging data for quick inspection. Telescope control part interfaces with Telescope Control System (TCS) to move the telescope and to get time or coordinate information. Finally, Observation scripting facility part carries out a series of short exposures in a batch. The whole software will be written in python on linux platform, using the instrument control software libraries provided by the vendors.

  • PDF

Extension of the NEAMS workbench to parallel sensitivity and uncertainty analysis of thermal hydraulic parameters using Dakota and Nek5000

  • Delchini, Marc-Olivier G.;Swiler, Laura P.;Lefebvre, Robert A.
    • Nuclear Engineering and Technology
    • /
    • v.53 no.10
    • /
    • pp.3449-3459
    • /
    • 2021
  • With the increasing availability of high-performance computing (HPC) platforms, uncertainty quantification (UQ) and sensitivity analyses (SA) can be efficiently leveraged to optimize design parameters of complex engineering problems using modeling and simulation tools. The workflow involved in such studies heavily relies on HPC resources and hence requires pre-processing and post-processing capabilities of large amounts of data along with remote submission capabilities. The NEAMS Workbench addresses all aspects of the workflows involved in these studies by relying on a user-friendly graphical user interface and a python application program interface. This paper highlights the NEAMS Workbench capabilities by presenting a semiautomated coupling scheme between Dakota and any given package integrated with the NEAMS Workbench, yielding a simplified workflow for users. This new capability is demonstrated by running a SA of a turbulent flow in a pipe using the open-source Nek5000 CFD code. A total of 54 jobs were run on a HPC platform using the remote capabilities of the NEAMS Workbench. The results demonstrate that the semiautomated coupling scheme involving Dakota can be efficiently used for UQ and SA while keeping scripting tasks to a minimum for users. All input and output files used in this work are available in https://code.ornl.gov/neams-workbench/dakota-nek5000-study.

Characterization of a carbon black rubber Poisson's ratio based on optimization technique applied in FEA data fit

  • Lalo, Debora Francisco;Greco, Marcelo;Meroniuc, Matias
    • Structural Engineering and Mechanics
    • /
    • v.76 no.5
    • /
    • pp.653-661
    • /
    • 2020
  • The paper presents a study regarding rubber compressibility behavior. The objective is to analyze the effect of compression degree of rubber on its mechanical properties and propose a new methodology based on reverse engineering to predict compressibility degree based on uniaxial stretching test and Finite Element Analysis (FEA). In general, rubbers are considered to be almost incompressible and Poisson's ratio is close to 0.5. Since this property is intimately related to the rubber packing density, little changes in Poisson's ratio can lead to significant changes regarding mechanical behavior. The deviatory hyperelastic constants were obtained through experimental data fitting by least squares method for the most relevant constitutive models implemented in commercial software Abaqus, such as: Neo-Hooke, Mooney-Rivlin, Ogden, Yeoh and Arruda-Boyce, whereas the hydrostatic part was determined through an optimization algorithm implemented in the Abaqus environment by Python scripting. The simulation results presented great influence of the Poisson's ratio in the rubber specimen mechanical behavior mainly for high strain levels. A conventional pure volumetric compression test was also carried out in order to compare the results obtained by the proposed methodology.