[MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post here information about your own engineering projects, including but not limited to building your own car or designing a virtual car through CAD.
User avatar
yinlad
33
Joined: 08 Nov 2019, 20:10

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

LVDH wrote:
10 Apr 2025, 21:38
So, if you guys can confirm to me, you can get the graphical stuff working as well, you can use the MFlow Linux version in WSL2. Then MFlow for Windows is dead, which will open up much more development time for MFlow for useful features. Windows compatibility really eats a lot of my time.

Regarding the radius rule, we are getting there. It will be for race 2 though.
Just to get back to you on this, I have managed to open MFlow via WSL2. I've yet to run a case but I'll give it a go and let you know how I get on.

EDIT: Nevemind, I run into the same issue Ash has, where I open a case folder but it doesn't actually load.
MVRC - Panthera

User avatar
Ft5fTL
26
Joined: 28 Mar 2013, 05:27
Location: Izmir

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

yinlad wrote:
19 Apr 2025, 23:00
LVDH wrote:
10 Apr 2025, 21:38
So, if you guys can confirm to me, you can get the graphical stuff working as well, you can use the MFlow Linux version in WSL2. Then MFlow for Windows is dead, which will open up much more development time for MFlow for useful features. Windows compatibility really eats a lot of my time.

Regarding the radius rule, we are getting there. It will be for race 2 though.
Just to get back to you on this, I have managed to open MFlow via WSL2. I've yet to run a case but I'll give it a go and let you know how I get on.

EDIT: Nevemind, I run into the same issue Ash has, where I open a case folder but it doesn't actually load.
I had the same issue. Turns out the config file was pointing the wrong of path, fixing that and changing the stl files to binary fixed my issue on linux mint.
Mantium Challenge - Pure Power Racing

User avatar
LVDH
46
Joined: 31 Mar 2015, 14:23

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

Good work, I am trying to fix Ash's issue on the official support "forum", which is pretty broken, so no fun for either of us. I kind of think that he also does not have the correct path to OpenFOAM. The issue is kind of strange though. But there is a good likelihood that this, together with fact that I changed how MFlow finds the OF installation, is the combination that causes the issue. So, by providing the correct path, you have a good chance of solving the issue.
And to make matter worse, the new "intelligent" way of finding your local OF might even have a second bug. It only affects Linux users, though. Right now, it seems to me that "~/blabla/OF_location" does not work as if you would do /home/your_user_name/blabla/OF_location".

User avatar
The Rusted One
0
Joined: 07 Aug 2023, 08:33

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

Hi all,
I'm having this issue with the frt suspension where my fairings aren’t aligning with the MAND suspension arms when the ride height is adjusted… everything is in the correct folder afaik so it’s a bit of a weird issue and I can’t find the problem causing it
Rusted GP

User avatar
yinlad
33
Joined: 08 Nov 2019, 20:10

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

LVDH wrote:
20 Apr 2025, 21:08
Good work, I am trying to fix Ash's issue on the official support "forum", which is pretty broken, so no fun for either of us. I kind of think that he also does not have the correct path to OpenFOAM. The issue is kind of strange though. But there is a good likelihood that this, together with fact that I changed how MFlow finds the OF installation, is the combination that causes the issue. So, by providing the correct path, you have a good chance of solving the issue.
And to make matter worse, the new "intelligent" way of finding your local OF might even have a second bug. It only affects Linux users, though. Right now, it seems to me that "~/blabla/OF_location" does not work as if you would do /home/your_user_name/blabla/OF_location".
Quick update, changing the mflow config to use 'local_OF_location=/usr/lib/openfoam/' has got the case displaying now. (Yet to run a case, but one step at a time :D)

EDIT: Getting the following when I try to run a case

blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by blockMesh)
blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/openfoam/openfoam2412/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so)
MVRC - Panthera

User avatar
Ft5fTL
26
Joined: 28 Mar 2013, 05:27
Location: Izmir

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

yinlad wrote:
20 Apr 2025, 22:13
LVDH wrote:
20 Apr 2025, 21:08
Good work, I am trying to fix Ash's issue on the official support "forum", which is pretty broken, so no fun for either of us. I kind of think that he also does not have the correct path to OpenFOAM. The issue is kind of strange though. But there is a good likelihood that this, together with fact that I changed how MFlow finds the OF installation, is the combination that causes the issue. So, by providing the correct path, you have a good chance of solving the issue.
And to make matter worse, the new "intelligent" way of finding your local OF might even have a second bug. It only affects Linux users, though. Right now, it seems to me that "~/blabla/OF_location" does not work as if you would do /home/your_user_name/blabla/OF_location".
Quick update, changing the mflow config to use 'local_OF_location=/usr/lib/openfoam/' has got the case displaying now. (Yet to run a case, but one step at a time :D)

EDIT: Getting the following when I try to run a case

blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by blockMesh)
blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/openfoam/openfoam2412/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so)
run the runCase.sh file on terminal after creating the case.
Mantium Challenge - Pure Power Racing

User avatar
LVDH
46
Joined: 31 Mar 2015, 14:23

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

yinlad wrote:
20 Apr 2025, 22:13
EDIT: Getting the following when I try to run a case

blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by blockMesh)
blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/openfoam/openfoam2412/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so)
This sounds very much like an OpenFOAM specific issue (for once, MFlow is not to blame...).
Something is wrong with your installation.
I prefer compiling myself and one trick is to then run the AllRun scripts or what they are called more than once.

User avatar
yinlad
33
Joined: 08 Nov 2019, 20:10

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

LVDH wrote:
21 Apr 2025, 09:21
yinlad wrote:
20 Apr 2025, 22:13
EDIT: Getting the following when I try to run a case

blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by blockMesh)
blockMesh: /tmp/_MEII44phM/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/openfoam/openfoam2412/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so)
This sounds very much like an OpenFOAM specific issue (for once, MFlow is not to blame...).
Something is wrong with your installation.
I prefer compiling myself and one trick is to then run the AllRun scripts or what they are called more than once.
Running bash runCash.sh as advised above did work though, so that's interesting. But I at least have a path to running cases in Linux via WSL now.
MVRC - Panthera

User avatar
yinlad
33
Joined: 08 Nov 2019, 20:10

Re: [MVRC] Mantium Virtual Racecar Challenge 2025 (Grand Prix Cars)

Post

To summarise my WSL journey:

In windows powershell I ran:

Code: Select all

wsl --install
Restarted PC as prompted.
Back in powershell ran:

Code: Select all

wsl --install -d Ubuntu
Open Ubuntu via Windows menu and set up username/password as prompted.
In the Ubuntu terminal run:

Code: Select all

curl -s https://dl.openfoam.com/add-debian-repo.sh | sudo bash

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install openfoam2412-default
Download and unzip the Mflow linux edition somewhere on my windows drive with my mantium cases etc.

Change 'MantiumFlow-MFlow_2504a_linux\MantiumFlow_default_settings/default_settings.ini' such that the local OF line comments are switched and the bottom section of the file reads as follows;
# This is the root folder for many OF Installations
# For a precompiled version, this would look like this:
local_OF_location=/usr/lib/openfoam/
#local_OF_location=~/SOFTWARE/OpenFOAM
Back in Ubuntu navigate to the mantium directory I have but the important part to understand is that /mnt/ takes you to the root of your windows machine so for me it's something like

Code: Select all

cd /mnt/x/mantium/2025/MantiumFlow-MFlow_2504a_linux
Once in the mflow directory run;

Code: Select all

./Mflow
This should launch the Linux Mflow GUI, albeit within Windows. From here open, apply settings and build a case as normal but do not run it via Mflow.

Navigate to the case you just built i.e.

Code: Select all

cd /mnt/x/mantium/2025/cases/001_testingtriplediffuserthatmakes-100cl
and then run it via

Code: Select all

bash runCase.sh
MVRC - Panthera