'2020/08/09'에 해당되는 글 1건

  1. 2020.08.09 openfoam7 on ubuntu 18.04

예전에 설치했더니 openfoam 4 버전이고 심볼링 링크가 죄다 이상한것 같아서

7버전으로 다시 설치!

sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key | apt-key add -"
sudo add-apt-repository http://dl.openfoam.org/ubuntu
sudo apt-get update
sudo apt-get -y install openfoam7
openfoam7 (20200120) 설정하는 중입니다 ...

** To use OpenFOAM please add
**
**    . /opt/openfoam7/etc/bashrc
**
** To your ~/.bashrc

[링크 : https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-7/Ubuntu]

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

 

[링크 : https://openfoam.org/download/source/setting-environment/]

  [링크 : https://openfoam.org/download/source/]

 

 

openfoam 7을 설치하고 simpleFoam을 실행했는데 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   : Aug 09 2020
Time   : 14:38:08
Host   : "mini2760p"
PID    : 8640
Case   : /home/minimonk
nProcs : 1
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

 

설치 오류가 나긴 했는데 아무튼 환경 변수를 불러오고 다시 실행하니 Build 7 로 뜬다. 신기하네..

$ . /opt/openfoam7/etc/bashrc
$ simpleFoam 
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  7
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 7-1ff648926f77
Exec   : simpleFoam
Date   : Aug 09 2020
Time   : 14:39:32
Host   : "mini2760p"
PID    : 9424
I/O    : uncollated
Case   : /home/minimonk
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

openfoam on ubuntu  (0) 2023.05.24
openFOAM tutorial  (2) 2023.05.24
openFOAM tutorial  (0) 2020.07.19
openFOAM 우분투 패키지  (0) 2020.07.18
openFOAM 예제  (0) 2020.07.17
Posted by 구차니