[MVRC] Mantium Virtual Racecar Challenge 2016

Post here information about your own engineering projects, including but not limited to building your own car or designing a virtual car through CAD.
Post Reply
HP-Racing
0
Joined: 18 Mar 2016, 00:21
Location: Austria

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

Alonso Fan wrote:ok, so I've followed all the instructions, and when I type 'cd mvrc_testCase2share' it says there is no file or directory with that name, despite me unpacking it in the shared folder
any ideas?
The shared folder is the workingDir in OF.
Go to your workingDir and use "ls" to show what's in the folder.

User avatar
Alonso Fan
10
Joined: 06 Apr 2013, 18:21

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

HP-Racing wrote:
Alonso Fan wrote:ok, so I've followed all the instructions, and when I type 'cd mvrc_testCase2share' it says there is no file or directory with that name, despite me unpacking it in the shared folder
any ideas?
The shared folder is the workingDir in OF.
Go to your workingDir and use "ls" to show what's in the folder.
how do I get there?

i'm sorry, I'm really dumb when it comes to things like this
SHR Modding
Youtube
Twitter
Discord

Sound Developer for Reiza Studios
Sound Modder for Assetto Corsa

HP-Racing
0
Joined: 18 Mar 2016, 00:21
Location: Austria

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

Alonso Fan wrote:
HP-Racing wrote:
Alonso Fan wrote:ok, so I've followed all the instructions, and when I type 'cd mvrc_testCase2share' it says there is no file or directory with that name, despite me unpacking it in the shared folder
any ideas?
The shared folder is the workingDir in OF.
Go to your workingDir and use "ls" to show what's in the folder.
how do I get there?

i'm sorry, I'm really dumb when it comes to things like this
You start off just outside the workingDir.

cd workingDir/mvrc_testCase2share

Should do the trick.

User avatar
Alonso Fan
10
Joined: 06 Apr 2013, 18:21

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

HP-Racing wrote:
Alonso Fan wrote:
HP-Racing wrote:
The shared folder is the workingDir in OF.
Go to your workingDir and use "ls" to show what's in the folder.
how do I get there?

i'm sorry, I'm really dumb when it comes to things like this
You start off just outside the workingDir.

cd workingDir/mvrc_testCase2share

Should do the trick.
I still get 'no such file or directory'

that means I've put it in the wrong place. am I correct in assuming that the shared folder is the one used by 'default'?

ls brings nothing
SHR Modding
Youtube
Twitter
Discord

Sound Developer for Reiza Studios
Sound Modder for Assetto Corsa

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

After couple hours of try and error i finally get it working.
Alonso Fan wrote:
HP-Racing wrote:
Alonso Fan wrote:
how do I get there?

i'm sorry, I'm really dumb when it comes to things like this
You start off just outside the workingDir.

cd workingDir/mvrc_testCase2share

Should do the trick.
I still get 'no such file or directory'

that means I've put it in the wrong place. am I correct in assuming that the shared folder is the one used by 'default'?

ls brings nothing
I had this error too. You can solve this error with changing the directory links on oracle vm. Like this:
https://snag.gy/UJIdt2.jpg
After that when you start openfoam, it creates a file inside your new directory called "your username". Put the mvrc_testCase2share in there.
Mantium Challenge - Pure Power Racing

User avatar
CAEdevice
47
Joined: 09 Jan 2014, 15:33
Location: Erba, Italy
Contact:

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

I still have difficulties while setting the right directory (never used unix commands before...) and with the virtual machine (sometimes it doesn't start). I could only obtain this messages:

Code: Select all

[ofuser@default workingDir]$ bash runCase.sh
: command not found
: command not found
: command not found
: command not found blockMesh

Usage: decomposePar [OPTIONS]
options:
  -allRegions       operate on all regions in regionProperties
  -case <dir>       specify alternate case directory, default is the cwd
  -cellDist         write cell distribution as a labelList - for use with
                    'manual' decomposition method or as a volScalarField for
                    post-processing.
  -constant         include the 'constant/' dir in the times list
  -copyUniform      copy any uniform/ directories too
  -decomposeParDict <file>
                    read decomposePar dictionary from specified location
  -fields           use existing geometry decomposition and convert fields only
  -force            remove existing processor*/ subdirs before decomposing the
                    geometry
  -ifRequired       only decompose geometry if the number of domains has changed  -latestTime       select the latest time
  -newTimes         select the new times
  -noFunctionObjects
                    do not execute functionObjects
  -noSets           skip decomposing cellSets, faceSets, pointSets
  -noZero           exclude the '0/' dir from the times list, has precedence
                    over the -withZero option
  -region <name>    specify alternative mesh region
  -time <ranges>    comma-separated time ranges - eg, ':10,20,40:70,1000:'
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

decompose a mesh and fields of a case for parallel execution

Using: OpenFOAM-v1606+ (see www.OpenFOAM.com)
Build: v1606+



--> FOAM FATAL ERROR:
Invalid option: -force

User avatar
Alonso Fan
10
Joined: 06 Apr 2013, 18:21

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

Ft5fTL wrote:After couple hours of try and error i finally get it working.
Alonso Fan wrote:
HP-Racing wrote:
You start off just outside the workingDir.

cd workingDir/mvrc_testCase2share

Should do the trick.
I still get 'no such file or directory'

that means I've put it in the wrong place. am I correct in assuming that the shared folder is the one used by 'default'?

ls brings nothing
I had this error too. You can solve this error with changing the directory links on oracle vm. Like this:
https://snag.gy/UJIdt2.jpg
After that when you start openfoam, it creates a file inside your new directory called "your username". Put the mvrc_testCase2share in there.

Hmm I already changed this. And it hasn't created a file called my username inside the directory . Thanks for the help though, I'll try again

edit: got it running now, it seems that virtualbox decided to change the directory name after I named it 'c/users'

all solved for now :)
SHR Modding
Youtube
Twitter
Discord

Sound Developer for Reiza Studios
Sound Modder for Assetto Corsa

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

If this is too difficult for you guys I can change MantiumWFlow tomorrow.

But After you have a runCase.sh file, either through extracting the test case or through generating a case using MantiumWFlow you have to go to that directory.

i.e.:

Code: Select all

cd c:\..\user\MVRC_cases\test_case
./runcase.sh
The dots in the code above are because I do not know where you case is. You have to know, do not enter them.

You can run a command called:

Code: Select all

dir
If this does not show you a bunch of files like system, constant and the very important runCase.sh you are in the wrong directory.

User avatar
Alonso Fan
10
Joined: 06 Apr 2013, 18:21

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

btw, I haven't been sent any login details yet

edit: test case has finished running, and I have some nice .txt files in the directory. i'm assuming these are the log files that should be generated
SHR Modding
Youtube
Twitter
Discord

Sound Developer for Reiza Studios
Sound Modder for Assetto Corsa

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

I just checked, you should have received login details. I reset your password, so please check again and make sure it did not land in your spam folder.

The test case should output some *.log files.

User avatar
Alonso Fan
10
Joined: 06 Apr 2013, 18:21

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

my bad, they are in fact .log files. windows labels them as 'text document'.
SHR Modding
Youtube
Twitter
Discord

Sound Developer for Reiza Studios
Sound Modder for Assetto Corsa

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

OK, cool, so download MantiumWFlow, follow the instructions in the readme and try your own case. And please let us know if it works for you.

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

Short update: On Windows it will not. I am fixing it right now.

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

Hi guys,

I have updated the Windows version once more. I had to change how the "#includes" in the fvS* and snappyHexMeshDict are used.
As I am watching MotoGP there is once more no time for a new version number. Just download it like before and unpack the files.

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

Re: [MVRC] Mantium Virtual Racecar Challenge 2016

Post

Hi guys,

together with Alex from HP-Racing we found and solved another small Windows related bug. The runCase.sh and the one to check the stl files will not work under Windows. As a workaround for now you can just manually execute every line.
I have already fixed it. As soon as Alex can confirm that the whole case runs I will upload the hopefully last update to get every thing working.

So far nobody has sent any log files. At least the few Linux users should have had some success by now. It would be very helpful if you could send the log files, just so I can have a look and be sure that everything is working as intended.

Post Reply