๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

IT-Engineering/OpenFOAM3

openfoam11-macos No directory exists ์—๋Ÿฌ ํ•ด๊ฒฐ macOS์—์„œ OpenFOAM ์„ค์น˜๋ฅผ ํ•˜๋Š” ๋ฐ 10๋ฒ„์ „์€ ์ž˜ ๋˜์—ˆ๋˜ ๊ฒƒ์ด ์„ค์น˜๋ถ€ํ„ฐ ๋ง‰ํžˆ๋Š” ๊ฒƒ ์•„๋‹Œ๊ฐ€?์ฐพ์•„๋ด๋„ ํ•ด๊ฒฐ์ฑ…์„ ๋ชป์ฐพ์•„์„œ shell script๋ฅผ ํ•œ๋•€ ํ•œ๋•€ ๋’ค์ ธ๊ฐ€๋ฉฐ ํ•ด๊ฒฐํ–ˆ๋‹ค. ๋ช‡๊ฐ€์ง€ ํ‹€๋ฆฐ ๋ถ€๋ถ„์ด ์žˆ์–ด์„œ ์ˆ˜์ •ํ–ˆ๋‹ค. 'ver' ๋ณ€์ˆ˜๊ฐ€ ๋ฐ˜์˜๋˜๊ณ  ์žˆ์ง€ ์•Š๋˜ ๋ฌธ์ œ MOUNT_DIR์ด ๋Œ€์†Œ๋ฌธ์ž๊ฐ€ ์„ž์—ฌ์„œ ๋ณ€์ˆ˜๊ฐ€ ํ˜ผ๋™๋œ ํ˜„์ƒ ๋“ฑ์ด ๋ฐœ๊ฒฌ๋๋‹ค.์•„๋ž˜ ์ˆ˜์ •๋ณธ์„ ํ™œ์šฉํ•˜๋ฉด ์‹คํ–‰์ด ์ •์ƒ์ ์œผ๋กœ ๋  ๊ฒƒ์ด๋‹ค.https://github.com/skyiwalker/openfoam/blob/master/openfoam11-macos#!/bin/sh#------------------------------------------------------------------------------# ========= .. 2024. 5. 14.
Ubuntu OpenFOAM ๋นŒ๋“œ ์—๋Ÿฌ CGAL ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฌธ์ œ ํ•ด๊ฒฐ ์‹คํ–‰ ํ™˜๊ฒฝ: ์šฐ๋ถ„ํˆฌ 18.04 ์˜คํ”ˆํผ ๋ฒ„์ „: OpenFOAM(org๋ฒ„์ „) 4.1 ์ด์ „๊ธ€๊ณผ ์œ ์‚ฌํ•˜๊ฒŒ OpenFOAM ๋นŒ๋“œ์‹œ์— ํŠน์ • ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ค์น˜๊ฐ€ ๋˜์–ด์žˆ์ง€ ์•Š์œผ๋ฉด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋‹ค. ๊ฐ๊ฐ์˜ ๋ฌธ์ œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•๊ณผ ๋”๋ถˆ์–ด ์ „์ฒด์ ์ธ ์„ค์น˜ ๊ฐ€์ด๋“œ๋„ ๋‚˜์ค‘์— ํ•œ๋ฒˆ ์ž‘์„ฑํ•ด๋ด์•ผ ๊ฒ ๋‹ค. ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ์—๋Ÿฌ๋ฉ”์‹œ์ง€ fatal error: CGAL/Delaunay_triangulation_3.h: No such file or directory ํ•ด๊ฒฐ๋ฐฉ๋ฒ• sudo apt-get install libcgal-dev ์œ„์˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด CGAL ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ฐœ๋ฐœ ๋ฒ„์ „์„ ์„ค์น˜ํ•˜๋ฉด ํ•ด๋‹น ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋‹ค. ์ฐธ๊ณ : https://www.cgal.org/ The Computational Geometry Algorithms Library.. 2021. 5. 25.
Ubuntu Openfoam 4 ์„ค์น˜์‹œ zlib์œผ๋กœ ์ธํ•œ ์—๋Ÿฌ ํ•ด๊ฒฐ ์‹คํ–‰ํ™˜๊ฒฝ: Ubuntu 18.04 ์šฐ๋ถ„ํˆฌ 18๋ฒ„์ „์—์„œ ์˜คํ”ˆํผ(OpenFOAM) 4๋ฒ„์ „์„ ์ˆ˜๋™์œผ๋กœ ์„ค์น˜ํ•˜๋Š”๋ฐ, Allwmake๋ฅผ ํ†ตํ•œ ๋นŒ๋“œ์‹œ์— compile error๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๊ฒƒ์„ ํ•ด๊ฒฐํ•œ ๊ณผ์ •์ด๋‹ค. ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ common_file_uncompress.c:65:10: fatal error: zlib.h: No such file or directory #include "zlib.h" ^~~~~~~~ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• sudo apt-get install zlib1g-dev zlib ๊ฐœ๋ฐœ์šฉ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์„ค์น˜ํ•œ ๊ฒƒ์œผ๋กœ ํ•ด๋‹น ์—๋Ÿฌ ๋ฉ”์‹œ์ง€๋Š” ํ•ด๊ฒฐ๋˜์—ˆ๋‹ค. 2021. 5. 25.