헐.. 예제까지 패키지로 존재하네?

 

$ sudo apt-cache search openfoam
libopenfoam - Set of programs for Computational Fluid Dynamics (CFD). Libraries
openfoam - Set of programs for Computational Fluid Dynamics (CFD). Binaries
openfoam-examples - Set of programs for Computational Fluid Dynamics (CFD). Examples

 

$ sudo apt-get install openfoam openfoam-examples
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  efibootmgr libegl1-mesa libfwup1 libllvm8
Use 'sudo apt autoremove' to remove them.
다음의 추가 패키지가 설치될 것입니다 :
  libfabric1 libhwloc-plugins libhwloc5 libopenfoam libopenmpi2
  libpsm-infinipath1 libptscotch-6.0 libscotch-6.0 mpi-default-bin
  ocl-icd-libopencl1 openmpi-bin openmpi-common
제안하는 패키지:
  libhwloc-contrib-plugins opencl-icd gfortran
다음 새 패키지를 설치할 것입니다:
  libfabric1 libhwloc-plugins libhwloc5 libopenfoam libopenmpi2
  libpsm-infinipath1 libptscotch-6.0 libscotch-6.0 mpi-default-bin
  ocl-icd-libopencl1 openfoam openfoam-examples openmpi-bin openmpi-common
0개 업그레이드, 14개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
70.6 M바이트 아카이브를 받아야 합니다.
이 작업 후 331 M바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] 

 

설치 경로는 아래와 같은데 openfoam은 설정 파일만 있는 듯 하다.(바이너리는 다른 곳에)

/usr/share/openfoam/
/usr/share/doc/openfoam-examples/

 

음.. 홈페이지에서는 7.0 이야기를 하는데 18.04 LTS에서는 4.0 버전까지 릴리즈 한 것으로 보인다.

$ simpleFoam 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.0                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 4.0
Exec   : simpleFoam
Date   : Jul 19 2020
Time   : 21:07:28
Host   : "mini2760p"
PID    : 6823
Case   : /usr/share/openfoam
nProcs : 1
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



--> FOAM FATAL IO ERROR: 
cannot find file

file: /usr/share/openfoam/system/controlDict at line 0.

    From function regIOobject::readStream()
    in file db/regIOobject/regIOobjectRead.C at line 72.

FOAM exiting


[링크 : https://openfoam.org/download/7-ubuntu/]

'프로그램 사용 > openFOAM' 카테고리의 다른 글

openFOAM tutorial  (2) 2023.05.24
openfoam7 on ubuntu 18.04  (0) 2020.08.09
openFOAM tutorial  (0) 2020.07.19
openFOAM 예제  (0) 2020.07.17
beowulf cluster , openMPI, openFOAM?  (0) 2020.07.16
Posted by 구차니