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

[RapidCFD] Discussion thread on how to install and use RapidCFD

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 2020, 16:38
Default
  #81
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Quote:
Originally Posted by edaymo View Post
Hi, MJ,

Thanks for the update. That was a clever solution. I am honestly not sure why the mapped T BC it's working when you include the turbulence model library ("libturbulenceModels.so"), since this BC is not supposed to be compiled in RapidCFD. But nonetheless, well done for getting it working.

However, I don't have a specific idea for your error. Could be a lot of causes, from the grid to a bad initial condition for your turbulence parameters to something RapidCFD (vs. OpenFOAM) related.

Does the same exact case run fine in OpenFOAM v2.3.1, or does the same problem occur in OpenFOAM? If yes, then it's more a general OpenFOAM issue. If no, then it's something related to RapidCFD in particular. This feedback might help with the determination of the root cause of your problems.

Best regards,

Eric

Hi Eric,


First, thanks a lot for your prompt response, I really appreciate it


Initially I was very happy to see it running, then I found it was not done yet...! (learning to be more patient...)


Yes, I just exactly did the same thing that you mentioned. I ran the exact same case with OpenFOAMv1811 (few changes here and there due to the differences between the versions but nothing meaningful was different). It ran perfectly fine with OpenFOAMv1811 so there should be something which needs attention in RapidCFD...


Thanks,
MJ
mm66 is offline   Reply With Quote

Old   December 21, 2020, 19:43
Default
  #82
Member
 
Eric Daymo
Join Date: Feb 2015
Location: Gilbert, Arizona, USA
Posts: 56
Rep Power: 12
edaymo is on a distinguished road
Hi, MJ,

That's good that you tested your case with OpenFOAM-v1812. It is highly likely that the same case will run with OpenFOAM v2.3.1, but if you have the ability to test with OpenFOAM v2.3.1, you can test the closest version of OpenFOAM to RapidCFD. Nonetheless, your OpenFOAM v1812 test probably rules out the grid, for example, as the root cause.

From there, you could start deconstructing your case to figure out where the issue is. Examples:

- Will your case run with a constant wall T instead of the mapped T boundary condition?

- Is it feasible to run your case with fixed density (you're modeling water, considering rho is ~1000 kg/m3 and it seems to vary with temperature)? Or... with laminar flow ?

In other words, I recommend changing parameters until you figure out exactly what is causing the errors. Offhand, I am not sure what the problem could be, in part because you are using some features I never tested with RapidCFD (e.g., mapped T BC and possibly more).

Another option is to take a known working OpenFOAM tutorial for chtMultiRegionFoam and getting that to work with RapidCFD.

I wish you good luck with the troubleshooting process.

Best regards,

Eric
mm66 likes this.
edaymo is offline   Reply With Quote

Old   December 22, 2020, 10:06
Default
  #83
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Quote:
Originally Posted by edaymo View Post
Hi, MJ,

That's good that you tested your case with OpenFOAM-v1812. It is highly likely that the same case will run with OpenFOAM v2.3.1, but if you have the ability to test with OpenFOAM v2.3.1, you can test the closest version of OpenFOAM to RapidCFD. Nonetheless, your OpenFOAM v1812 test probably rules out the grid, for example, as the root cause.

From there, you could start deconstructing your case to figure out where the issue is. Examples:

- Will your case run with a constant wall T instead of the mapped T boundary condition?

- Is it feasible to run your case with fixed density (you're modeling water, considering rho is ~1000 kg/m3 and it seems to vary with temperature)? Or... with laminar flow ?

In other words, I recommend changing parameters until you figure out exactly what is causing the errors. Offhand, I am not sure what the problem could be, in part because you are using some features I never tested with RapidCFD (e.g., mapped T BC and possibly more).

Another option is to take a known working OpenFOAM tutorial for chtMultiRegionFoam and getting that to work with RapidCFD.

I wish you good luck with the troubleshooting process.

Best regards,

Eric

Hi Eric,


Thank you very much for your valuable input.

Since I already had OpenFOAMv1812 on my system, I quickly used it to check if it runs there just fine. But I am in the process of getting v2.3.1 for a more meaningful comparison

I will follow your input to get to the bottom of this...

Thanks again and happy holidays


Regards,
MJ
nnunn likes this.
mm66 is offline   Reply With Quote

Old   September 2, 2022, 00:58
Default
  #84
Dcn
New Member
 
Join Date: Aug 2022
Posts: 19
Rep Power: 4
Dcn is on a distinguished road
Hi ,
Can you kindly tell the step by step procedure on how to
Install the rapid CFD , the steps that you have followed to install the rapid CFD
Thanks
Dcn is offline   Reply With Quote

Old   September 2, 2022, 02:04
Default RapidCFD Installation Steps
  #85
Member
 
Eric Daymo
Join Date: Feb 2015
Location: Gilbert, Arizona, USA
Posts: 56
Rep Power: 12
edaymo is on a distinguished road
Hello,

RapidCFD installation steps have been documented at https://github.com/Atizar/RapidCFD-dev/issues/93.

Also, some recent experiences with newer versions of CUDA are posted at https://github.com/Atizar/RapidCFD-dev/issues/92.

Hope this helps.

Best regards,

Eric
edaymo is offline   Reply With Quote

Old   May 16, 2024, 18:55
Default
  #86
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22
klausb will become famous soon enough
What would be a good RapidCFD benchmark case?


All the cases from https://github.com/TonkomoLLC/RapidCFD-Tests are now running on my AMD RX 6700M (10Gb RAM) but they require changes to run on a recent OpenFOAM implementation.


Maybe someone is willing to adapt e.g. the pitzDaily case so it can be run on a recent 4 or 8 core CPU to see where we are performance wise?!
klausb is offline   Reply With Quote

Old   May 16, 2024, 19:03
Default
  #87
Member
 
Eric Daymo
Join Date: Feb 2015
Location: Gilbert, Arizona, USA
Posts: 56
Rep Power: 12
edaymo is on a distinguished road
Hi Klaus,
Very nice to hear that the RapidCFD cases are running on your AMD GPU. Well done.
As to CPU versions: The RapidCFD version was adapted from the OpenFOAM 2.3.x pitzDaly tutorial: https://github.com/OpenFOAM/OpenFOAM.../les/pitzDaily


More modern versions of this tutorial are:

OF-11: https://github.com/OpenFOAM/OpenFOAM...luid/pitzDaily

OpenFOAM v2312: https://develop.openfoam.com/Develop...ref_type=heads

Good luck with the comparisons.

Best regards,
Eric
edaymo is offline   Reply With Quote

Old   May 17, 2024, 10:22
Default
  #88
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22
klausb will become famous soon enough
@Eric

Can you suggest another benchmark example that allows an apples-to-apples GPU to multi-core-CPU comparison?

LES pitzDaily uses different equations oneEqEddy vs kEqn (which runs 30x faster on the CPU but it could be the case size or the equation that makes the difference) and damBreak-rapidCFD won't run on OpenFOAM 2312. damBreak-rapidCFD runs 2.9x faster on my RX 6700M than on the GeForce GTX 980M used in the original "benchmark" but I would have expected a factor of 6x as the fp64 performance of my GPU is 6x higher and the case is rather large. BUT really important would be to compare performance based on a large case to a current 8 core CPU.

OpenFOAM2.3.1 is sooo.... outdated, that it can't be installed on a recent Linux distribution as it doesn't meet recent c++ standards, something that starts affecting RapidCFD, too.
klausb is offline   Reply With Quote

Old   May 17, 2024, 10:39
Default
  #89
Member
 
Eric Daymo
Join Date: Feb 2015
Location: Gilbert, Arizona, USA
Posts: 56
Rep Power: 12
edaymo is on a distinguished road
Hi Klaus,

Maybe old OF 2.3.1 cases can be run with docker (older version Ubuntu that can install OF 2.3.1 from the ppa package archives).

Also newer versions of OF seem to be incrementally faster with each release for the same case (this is my qualitative experience; I do not have data to back up this statement).

Yes, RapidCFD is starting to show its age... thanks for your contributions on the RapidCFD-dev site to help it compile with newer versions of compilers!

Cheers,
Eric
edaymo is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 05:00.