CfdOF and OpenFoam server ?
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
CfdOF and OpenFoam server ?
Hello,
Before asking my question, I would like to say that cfdof is great! A big congratulations to the people who developed this workbench. Without it, I think I would never have used OpenFoam! Thank you!
Then, sorry for my bad English, I'm French^^
I'm a beginner on openfoam and in cfd in general. I will, for my work, have to make simulations to design a piece of equipment.
We have a "supercomputer" at my workplace with the possibility of installing openfoam as a server.
So here is my question: is it possible to use freecad and cfdof to set up and generate the files, and then transfer these files to the "supercomputer" to run the simulation on the server?
It would save a lot of time, especially since I will have to run several simulations...
I have searched a bit but I have not found an answer to this question.
Thank you in advance for your help.
Have a nice day.
Pierre
Before asking my question, I would like to say that cfdof is great! A big congratulations to the people who developed this workbench. Without it, I think I would never have used OpenFoam! Thank you!
Then, sorry for my bad English, I'm French^^
I'm a beginner on openfoam and in cfd in general. I will, for my work, have to make simulations to design a piece of equipment.
We have a "supercomputer" at my workplace with the possibility of installing openfoam as a server.
So here is my question: is it possible to use freecad and cfdof to set up and generate the files, and then transfer these files to the "supercomputer" to run the simulation on the server?
It would save a lot of time, especially since I will have to run several simulations...
I have searched a bit but I have not found an answer to this question.
Thank you in advance for your help.
Have a nice day.
Pierre
- oliveroxtoby
- Posts: 810
- Joined: Fri Dec 23, 2016 9:43 am
- Location: South Africa
Re: CfdOF and OpenFoam server ?
Yes, this is the idea. You can transfer the mesh case and case directories that are written and run them on a computer which doesn't have FreeCAD by by executing the Allmesh and Allrun scripts contained therein.
@techGuy is also working on automating this through an ssh connection - viewtopic.php?t=74877
Re: CfdOF and OpenFoam server ?
Hi @oliveroxtoby ,
Thank you very much for your feedback! I will follow this very closely
The work done to modify CfdOF to do remote calculations is impressive!
With this feature, this tool will be really amazing
Thanks again.
Pierre
Thank you very much for your feedback! I will follow this very closely
The work done to modify CfdOF to do remote calculations is impressive!
With this feature, this tool will be really amazing
Thanks again.
Pierre
Re: CfdOF and OpenFoam server ?
Is your "supercomputer" a single computer or a cluster ? Does it run Linux ? Do you have admin privileges on it ?
I'm in the same boat as you are, Cobras62. I decided to take matters into my own hands and extend CfdOF to make use of remote processing.
So here is my question: is it possible to use freecad and cfdof to set up and generate the files, and then transfer these files to the "supercomputer" to run the simulation on the server?
It would save a lot of time, especially since I will have to run several simulations...
I have searched a bit but I have not found an answer to this question.
Remote processing is the running of mesh and OpenFOAM processes on a remote computer, all from a FreeCAD workstation.
I started working on it at Christmas. I've got it mostly running. I've run into an issue with making it work under proxy, so that it will work with FreeCAD macros. Once I figure that out, it should be ready for some alpha testing. Probably later this week.
Re: CfdOF and OpenFoam server ?
Here are some pics to wet your appetite.
Re: CfdOF and OpenFoam server ?
Hi @techGuy !
Thanks for the pics, I had seen them on the github (https://github.com/jaheyns/CfdOF/issues/70)
You're really doing a great job! I'll be able to test this out and give you feedback when I get a chance to try it
Attention, I am only discovering CfdOF and OpenFoam, and for the cluster, I am going to work on it with a colleague engineer specialized on numerical calculation and who knows very well the cluster.
I'm having a meeting with him this afternoon to talk about it, I'm going to present him CfdOF, and your work
Good day and see you soon.
Pierre
Thanks for the pics, I had seen them on the github (https://github.com/jaheyns/CfdOF/issues/70)
You're really doing a great job! I'll be able to test this out and give you feedback when I get a chance to try it
It is a cluster: https://www-calculco.univ-littoral.fr/r ... quipementsIs your "supercomputer" a single computer or a cluster ? Does it run Linux ? Do you have admin privileges on it ?
Attention, I am only discovering CfdOF and OpenFoam, and for the cluster, I am going to work on it with a colleague engineer specialized on numerical calculation and who knows very well the cluster.
I'm having a meeting with him this afternoon to talk about it, I'm going to present him CfdOF, and your work
Good day and see you soon.
Pierre
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: CfdOF and OpenFoam server ?
a couple suggestions, instead of separate buttons for remote or local operations on the task view consider using a checkbox or a combobox to switch between local or remote run so you don't have to have duplicate buttons (btw your screenshot has a typo, it says remote sover instead of solver), also is it worth running checkMesh on the remote computer or will this always run locally?
In the remote preference page, consider adding the ability of having remote profiles, allowing to easily switch between different remote computers, this is of course low priority.
In the remote preference page, consider adding the ability of having remote profiles, allowing to easily switch between different remote computers, this is of course low priority.