CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Best GUI for OpenFOAM: Helyx OS or Salome?

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2022, 21:24
Default vtk 9.1.0 not found
  #21
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
When I tried to install baram, I got the following errors:
Collecting tables==3.7.0
Using cached tables-3.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.9 MB)
ERROR: Could not find a version that satisfies the requirement vtk==9.1.0 (from versions: 9.2.0rc2, 9.2.2)
ERROR: No matching distribution found for vtk==9.1.0


......


All done
(venv) phsieh@CAE:~/baram$ python3 main.py
Traceback (most recent call last):
File "/home/phsieh/baram/main.py", line 9, in <module>
import qasync
ModuleNotFoundError: No module named 'qasync'
(venv) phsieh@CAE:~/baram$

Dear Pei-Ying,
Your error has following.
Quote:
ERROR: Could not find a version that satisfies the requirement vtk==9.1.0 (from versions: 9.2.0rc2, 9.2.2)
ERROR: No matching distribution found for vtk==9.1.0
And it seems that vtk 9.1.0 for Linux has been removed by PyPI.
Quote:
(venv) jake@localhost:~/worspace/ksoe-working> pip index versions vtk
vtk (9.2.2)
Available versions: 9.2.2, 9.1.0, 9.0.3, 9.0.2
INSTALLED: 9.2.2
LATEST: 9.2.2
Please change the version in "requirements.txt" to "9.2.2" and try "pip ...." command again.
Code:
vtk==9.1.0
to
Code:
vtk==9.2.2
jake.yun is offline   Reply With Quote

Old   October 30, 2022, 23:07
Default
  #22
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
Hi, Jake,


Good to see another open source GUI for openFoam.



I just downloaded BARAM. I have a couple of questions:
1 is there any documentation that I can follow?
2. is there an user forum that users can ask questions or discuss specific topics?
3. what are the differences between 6.4.3 and 6.4.5?
4. does the current version support adding solid particles?



Pei-Ying



Hello, Pei-Ying.
Here are the answers.


1 is there any documentation that I can follow? ==> BARAM is quite in its early stage and user guide is not prepared yet.
2. is there an user forum that users can ask questions or discuss specific topics? ==> GitHub discussion is the place where you can ask questions and discuss about BARAM.
3. what are the differences between 6.4.3 and 6.4.5? ==> v6.x.x is a legacy version, and the revised BARAM starts from the version v22.x.x
4. does the current version support adding solid particles? ==> It not supported yet.
jake.yun is offline   Reply With Quote

Old   October 30, 2022, 23:10
Default
  #23
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
looks like BARAM is based on OpenFOAM-6 and requires that OpenFOAM-6 already installed, correct?


Pei-Ying

That's BARAM v6 that is legacy now.
New BARAM whose version starts from v22 adopts latest OpenFOAM.
phsieh2005 likes this.
jake.yun is offline   Reply With Quote

Old   October 30, 2022, 23:14
Default
  #24
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
Dear Pei-Ying,
Your error has following.
ERROR: No matching distribution found for vtk==9.1.0
And it seems that vtk 9.1.0 for Linux has been removed by PyPI.
Please change the version in "requirements.txt" to "9.2.2" and try "pip ...." command again.
Code:
vtk==9.1.0
to
Code:
vtk==9.2.2

Thanks Jake!


I had to change vtk to 9.2.2 and numpy to 1.21.0.
now, baram is working.


I am wondering if you have a quick tutorial that I can follow or a case that I can open to look around how to setup, run, post-process a case?


Excited to try out your OpenFOAM GUI!


Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   October 30, 2022, 23:32
Default
  #25
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Dear Pei-Ying,
You can try this sample case.
jake.yun is offline   Reply With Quote

Old   October 30, 2022, 23:40
Default
  #26
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Oh, my mistake!
vtk 9.1.0 was not available because you were using Python 3.10.
If you use Python 3.9, vtk 9.1.0 is available.
phsieh2005 likes this.
jake.yun is offline   Reply With Quote

Old   October 31, 2022, 21:43
Default
  #27
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
Dear Pei-Ying,
You can try this sample case.

Hi, Jake,


The GUI froze when I started a new case. GUI won't let me do anything. Same happened when I opened the mixingPipe case.

Pei-YingScreenshot from 2022-10-31 18-41-16.png
phsieh2005 is offline   Reply With Quote

Old   October 31, 2022, 23:32
Default
  #28
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Hi, Pei-Ying.
I cloned the code from GitHub just now and checked again, but I could not reproduce your issue.
Could you give me your console output like following?
Quote:
(venv) jake@localhost:~/worspace/pyang> python main.py
['chtMultiRegionFoam']
(venv) jake@localhost:~/worspace/pyang>
jake.yun is offline   Reply With Quote

Old   November 1, 2022, 11:14
Default
  #29
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
Hi, Pei-Ying.
I cloned the code from GitHub just now and checked again, but I could not reproduce your issue.
Could you give me your console output like following?
Hi, Jake,

Thanks for the quick reply!

I will do later today.

I also tried the Windows 10 version. Using the Windows version, I am able to create a new case (still learning how to load a mesh). But, the mixingPipe case did not load. not sure why? is this a big case?

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   November 1, 2022, 20:14
Default
  #30
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
Hi, Jake,

Thanks for the quick reply!

I will do later today.

I also tried the Windows 10 version. Using the Windows version, I am able to create a new case (still learning how to load a mesh). But, the mixingPipe case did not load. not sure why? is this a big case?

Pei-Ying

Hi, Jake,


Here is the output:


phsieh@CAE:~$ source ./venv/bin/activate
(venv) phsieh@CAE:~$ cd baram
(venv) phsieh@CAE:~/baram$ python main.py
Killed
(venv) phsieh@CAE:~/baram$
------


Basically, the GUI opened, but, it is frozen, won't let me do anything, then, eventually, ask me to quit.


Pei-Ying


here is the screen shot
Attached Images
File Type: jpg Screenshot from 2022-11-01 17-07-10.jpg (54.8 KB, 7 views)
phsieh2005 is offline   Reply With Quote

Old   November 1, 2022, 21:58
Default
  #31
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
The app seems to have fallen into infinite loop.
I could not think of any possibility for now.
Your system information may be helpful.
Could you show me the output of this command?
Quote:
cat /etc/*-release

By the way, windows version might be more independent from OS, and I would recommend going with windows version for now.
And I will prepare a sample case for it and let you know later today.
jake.yun is offline   Reply With Quote

Old   November 1, 2022, 23:08
Default
  #32
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Jake,


Here is the output:


---
phsieh@CAE:~$ cat /etc/*-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=21
DISTRIB_CODENAME=vanessa
DISTRIB_DESCRIPTION="Linux Mint 21 Vanessa"
NAME="Linux Mint"
VERSION="21 (Vanessa)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21"
VERSION_ID="21"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=vanessa
UBUNTU_CODENAME=jammy
cat: /etc/upstream-release: Is a directory
phsieh@CAE:~$
---


Yes, the Windows version seems to be working fine.
Questions:
1. does baram has a mesher, such as snappyHexMesh or cfMesh? If not, then, meshing needs to be done before starting the GUI?
2. looks like baram can load OpenFOAM mesh, does it mean reading an OpenFOAM case? it is not clear to me how to load OpenFOAM mesh and/or in what file structure?


Thank you very much for your time helping me with baram!


Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   November 2, 2022, 05:07
Default
  #33
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Hello, Pei-Ying.
1. I've uploaded a sample case for Baram Windows V22.0.4.
(The configuration was not managed carefully in the past, and the configuration versions between the source code on GitHub and the windows installer package are different.)
Screenshot 2022-11-02 175222.png
2. I'm trying "Linux Mint 21" to figure out the reason for freezing. I will let you know if I get any clue.
3. Answers to your Questions
Quote:
1. does baram has a mesher, such as snappyHexMesh or cfMesh? If not, then, meshing needs to be done before starting the GUI?
2. looks like baram can load OpenFOAM mesh, does it mean reading an OpenFOAM case? it is not clear to me how to load OpenFOAM mesh and/or in what file structure?
1. No. Not yet. Baram can just load OpenFOAM polyMesh or import other meshes from "File >> Load Mesh" menu.
2. Not cases but only mesh. OpenFOAM cases have polyMesh folder in one of following structures. You can select "constant" folder in Load menu.
A. Single Region Case: <caseRoot>/constant/polyMesh
B. Multi-Region Case: <caseRoot>/constant/<region>/polyMesh
jake.yun is offline   Reply With Quote

Old   November 2, 2022, 08:49
Default
  #34
Senior Member
 
Join Date: Dec 2021
Posts: 251
Rep Power: 5
Alczem is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
Hello, Alczem.
Actually, BARAM is already using the latest OpenFOAM.
Have you found any difference?

Hey


Indeed I had not noticed it was based on OF v2206, nice ! The reason I am asking is that I would like to use your GUI to prepare and configure my cases locally, and then run the case on a cluster that only has OpenFoam installed, and not Baram.


If I am not mistaken, the solvers used in Baram are not the original ones right? They are modified and thus we cannot run cases prepared with Baram on a "vanilla" OpenFoam installation.


Or maybe we can just modify the controlDict file to use the original solvers... I will try that


Quick edit: I tried to change just the name of the solver. When I run the case with openfoam 2206, several boundary conditions are not compatible, so I guess it is a little more complicated than just swapping the names ^^
Alczem is offline   Reply With Quote

Old   November 2, 2022, 21:09
Default
  #35
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Quote:
Originally Posted by Alczem View Post
Hey


Indeed I had not noticed it was based on OF v2206, nice ! The reason I am asking is that I would like to use your GUI to prepare and configure my cases locally, and then run the case on a cluster that only has OpenFoam installed, and not Baram.


If I am not mistaken, the solvers used in Baram are not the original ones right? They are modified and thus we cannot run cases prepared with Baram on a "vanilla" OpenFoam installation.


Or maybe we can just modify the controlDict file to use the original solvers... I will try that


Quick edit: I tried to change just the name of the solver. When I run the case with openfoam 2206, several boundary conditions are not compatible, so I guess it is a little more complicated than just swapping the names ^^

Hello, Alczem.
Yes, you're absolutely right.
Baram has some modifications in the solvers.
However, as you might already know, installation of Baram does not require any privilege on the system. You can try Baram on any system where you have an account and can open terminal. ( Of course, the system should support remote X-Windows to display the GUI.)
Please let me know if you have any trouble in trying that.
Thank you.
jake.yun is offline   Reply With Quote

Old   November 3, 2022, 01:45
Default BARAM on Linux Mint 21
  #36
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Dear Pei-Ying,
I've tried installing BARAM on Linux Mint 21 today.
However, I failed to reproduce the problem.
BARAM runs without any problem on Mint 21.

BARAMonLinuxMint21.jpg



Here is the procedure I did, and I think you've already done all the things.


First, I started from vanilla Mint 21 and updated it.
I needed to install following packages in Software Manager.
  1. Git
  2. Python3-venv
  3. Build-essential
  4. Openmpi-bin
And following changes were made in requirements.txt
  • vtk==9.2.2
  • numpy==1.23.4
That's it.


I'm sorry that I could not find the cause of the problem.
jake.yun is offline   Reply With Quote

Old   November 4, 2022, 00:46
Default
  #37
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
Dear Pei-Ying,
I've tried installing BARAM on Linux Mint 21 today.
However, I failed to reproduce the problem.
BARAM runs without any problem on Mint 21.

Attachment 92208



Here is the procedure I did, and I think you've already done all the things.


First, I started from vanilla Mint 21 and updated it.
I needed to install following packages in Software Manager.
  1. Git
  2. Python3-venv
  3. Build-essential
  4. Openmpi-bin
And following changes were made in requirements.txt
  • vtk==9.2.2
  • numpy==1.23.4
That's it.


I'm sorry that I could not find the cause of the problem.

Hi, Jake,


Thanks! After installing Python3-venv and change numpy==1.23.4, baram main.py is working.


I also able to load mesh from polyMesh now. I will start playing with baram more and will let you know my experience abut baram.


Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   November 13, 2022, 12:52
Default
  #38
New Member
 
Aditya Chaudhary
Join Date: Jun 2022
Posts: 7
Rep Power: 4
fluidist.adi15 is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
It's an old thread.
But if there is anyone who still has interest, I've released an OpenFOAM GUI recently.
It's released under GPL and completely free without any restriction.

In addition, Windows installer is provided for convenience.
Please check it here.

Any feedback is welcomed.
Thank you.
Hi Jake!
Does BARAM support Lagrangian solvers?
I use the HELYX OS for multiphase simulations, but it does not support Lagrangian solvers.
I'm into droplet tracking analyses related to turbine film cooling technology.
fluidist.adi15 is offline   Reply With Quote

Old   November 13, 2022, 21:14
Default
  #39
New Member
 
Jake Yun
Join Date: Oct 2022
Posts: 20
Rep Power: 4
jake.yun is on a distinguished road
Quote:
Originally Posted by fluidist.adi15 View Post
Hi Jake!
Does BARAM support Lagrangian solvers?
I use the HELYX OS for multiphase simulations, but it does not support Lagrangian solvers.
I'm into droplet tracking analyses related to turbine film cooling technology.
Hi, Aditya.
Support for Lagrangian solvers is under development.
Which solver do you want to use?
If you can give me your needs in detail or the case configuration you want to use, I will try to meet the needs in the future release(around at the end of next month).
Thank you.
jake.yun is offline   Reply With Quote

Old   November 13, 2022, 22:06
Default
  #40
New Member
 
Aditya Chaudhary
Join Date: Jun 2022
Posts: 7
Rep Power: 4
fluidist.adi15 is on a distinguished road
Quote:
Originally Posted by jake.yun View Post
Hi, Aditya.
Support for Lagrangian solvers is under development.
Which solver do you want to use?
If you can give me your needs in detail or the case configuration you want to use, I will try to meet the needs in the future release(around at the end of next month).
Thank you.
Thanks for the prompt response!
Well until OF v5, I was using reactingParcelFoam and reactingParcelFilmFoam but in the latest versions, for example, v10, we have particleFoam solver with multiple user-defined options like surfaceFilm modeling.
Please try to include this solver in the next release.
For case configuration, you can try to run the standard Lagrangian OF tutorials.
If they can run well in BARAM, then I think almost any case can be simulated for tracking particle flows in it. Thank you once again for your time!
fluidist.adi15 is offline   Reply With Quote

Reply

Tags
gui, helyx, salome, simflow


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 10:23
Sailplane Modelling in Salome Platform davidod88 Main CFD Forum 0 March 11, 2012 21:06
Salome and Code Saturne simulation of simple room and objects cristian.ocnarescu Main CFD Forum 0 June 21, 2010 11:19
salome, openfoam and moving mesh prhlava OpenFOAM Running, Solving & CFD 8 November 9, 2009 09:59


All times are GMT -4. The time now is 11:02.