Khamsin Virtual Racecar Challenge 2014

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
RicME85
52
Joined: 09 Feb 2012, 13:11
Location: Derby

Re: Khamsin Virtual Racecar Challenge 2014

Post

Not really that big a deal in the grand scheme of things is it? Its not like its a major component on the car that has a big exploitable loophole.

julien.decharentenay
julien.decharentenay
10
Joined: 02 Jun 2012, 12:31

Re: Khamsin Virtual Racecar Challenge 2014

Post

Fer wrote:The problem is that I can't get it running with Khamsin. I first tried to change the Tool location (openFOAM -settings) to:

"C:/Program Files/OpenFOAM/DOS_Mode.bat"
A likely issue is with the setting of the tool location. It should be a batchrc.bat file probably in c:/Program Files/OpenFOAM/OpenFOAM-2.1/etc/batchrc.bat or c:/Program Files/OpenFOAM/etc/batchrc.bat

Let me know how it goes. By the way, I should probably be able to release a SketchUp 2014 version in the near future...

julien.decharentenay
julien.decharentenay
10
Joined: 02 Jun 2012, 12:31

Re: Khamsin Virtual Racecar Challenge 2014

Post

I was a bit out of the forum lately. I have been trying my hand at rendering - getting back into Color For Director business... I am trying to race things to have some renders of all the submitted cars in time... Still some work to do.

For those interested - a rendered CFD result: https://t.co/redirect?url=http%3A%2F%2F ... 0+20140513

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

Re: Khamsin Virtual Racecar Challenge 2014

Post

julien.decharentenay wrote:
Fer wrote:The problem is that I can't get it running with Khamsin. I first tried to change the Tool location (openFOAM -settings) to:

"C:/Program Files/OpenFOAM/DOS_Mode.bat"
I should probably be able to release a SketchUp 2014 version in the near future...
That is good news!

cdsavage
cdsavage
19
Joined: 25 Apr 2010, 13:28

Re: Khamsin Virtual Racecar Challenge 2014

Post

Any chance of another drag/DF/lap time chart for the final round?

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

Re: Khamsin Virtual Racecar Challenge 2014

Post

cdsavage wrote:Any chance of another drag/DF/lap time chart for the final round?
I think, for the next year, that all track charts should be available before the challange begins.

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

Re: Khamsin Virtual Racecar Challenge 2014

Post

Hi, I'm looking at the results online report (the GUI is great, and it seems that the loading process is now faster: very good job!).

I noticed that in the "surface pressure map" picture there are some strange points: geometry seems to be badly approximated and there are some low pressure areas that I would expect to find, in particular on the rear wing surfaces. I'm quite sure that this areas partially explain the differences between my CFD model and the official results (10-15% less downforce, similar drag). How can I fix that problem? I found similar problem on the floor surface that is 5mm thick: should I consider to use thicker floor (10-15mm?) and thicker wings?

Image
Image

The problem does not seem to be present in the 2013 results pictures: https://lh3.googleusercontent.com/-4fOa ... 180mph.png

Has someone noticed the same iusse looking at 2014 results?

astracrazy
astracrazy
31
Joined: 04 Mar 2009, 16:04

Re: Khamsin Virtual Racecar Challenge 2014

Post

has this been a common problem all the way through or just this race?

I'm not getting the same problem as you, have you tried reloading? I just say because your geometry looks distorted where i've just loaded yours up and its smooth as. The pressure map isn't all over, its blotchy, but correct in what it shows

I think if you do a cut in the flow direction you'll see the correct pressures anyway.

julien.decharentenay
julien.decharentenay
10
Joined: 02 Jun 2012, 12:31

Re: Khamsin Virtual Racecar Challenge 2014

Post

Matteo, Thanks a lot for the feedback on the GUI. The pressure map used in the online GUI uses a remap of the "real" geometry to decrease the mesh count. This would typically create issues similar to the one that you are reporting. I would recommend checking the downloadable results for the pressure map.

I just prepared renders of all designs (note that these are based on the initial submission and may include some compliance issues). You can see them in either video at http://youtu.be/tL1Lv5HOfSw or in the gallery at http://www.khamsinvirtualracecarchallen ... 14/gallery.

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

Re: Khamsin Virtual Racecar Challenge 2014

Post

astracrazy wrote:I think if you do a cut in the flow direction you'll see the correct pressures anyway.
julien.decharentenay wrote:Matteo, Thanks a lot for the feedback on the GUI. The pressure map used in the online GUI uses a remap of the "real" geometry to decrease the mesh count. This would typically create issues similar to the one that you are reporting. I would recommend checking the downloadable results for the pressure map.
Ok, thanks
julien.decharentenay wrote:I just prepared renders of all designs (note that these are based on the initial submission and may include some compliance issues). You can see them in either video at http://youtu.be/tL1Lv5HOfSw or in the gallery at http://www.khamsinvirtualracecarchallen ... 14/gallery.
The renderings are great, but my car has still mounted the illegal nose :)

astracrazy
astracrazy
31
Joined: 04 Mar 2009, 16:04

Re: Khamsin Virtual Racecar Challenge 2014

Post

yes thats the only thing, they are based on submission 1 due to the time frame.

submission 2 cars are only checked Wednesday onwards and we want to release these the friday before.

cdsavage
cdsavage
19
Joined: 25 Apr 2010, 13:28

Re: Khamsin Virtual Racecar Challenge 2014

Post

Any update on the laptime chart? Without it wing levels etc are pretty much a shot in the dark.

User avatar
machin
162
Joined: 25 Nov 2008, 14:45

Re: Khamsin Virtual Racecar Challenge 2014

Post

Oops, sorry, I've been real busy with work... will post it up later today.
COMPETITION CAR ENGINEERING -Home of VIRTUAL STOPWATCH

Fer
Fer
0
Joined: 04 May 2014, 10:59

Re: Khamsin Virtual Racecar Challenge 2014

Post

julien.decharentenay wrote:
Fer wrote:The problem is that I can't get it running with Khamsin. I first tried to change the Tool location (openFOAM -settings) to:

"C:/Program Files/OpenFOAM/DOS_Mode.bat"
A likely issue is with the setting of the tool location. It should be a batchrc.bat file probably in c:/Program Files/OpenFOAM/OpenFOAM-2.1/etc/batchrc.bat or c:/Program Files/OpenFOAM/etc/batchrc.bat

Let me know how it goes. By the way, I should probably be able to release a SketchUp 2014 version in the near future...
Thank you very much for your response, Julien.

This build of OpenFoam has three .bat files directly under the directory C:/Program Files/OpenFOAM/. They are:

DOS_Mode.bat, gompi.bat and setvars.bat.

I have tried with all three of them, but none of them seem to work with Khamsin. There are no .bat files under the etc directory in this build.

Khamsin is an awesome and really useful tool. A a new Khamsin update that supports Sketchup 2014 would be fantastic! :o Thanks! :)

In case it helps, this is the content of the original bat files (I tried some changes but none of them worked):

DOS_Mode.bat


@echo off
%COMSPEC% /k "%~dp0\setvars.bat" %1 %2 %3 %4 %5 %6 %7 %8 %9



setvars.bat

@echo off

%~d0
cd %~dp0
set HOME=%~dps0
set HOME=%HOME:~0,-1%

rem quick jump if just one available

:ww64
set WM_COMPILER=mingw-w64
set WM_PRECISION_OPTION=DP
set WM_ARCH_OPTION=64
echo "Setting environment for mingw-w64 Double Precision (custom mingw-w64)"
goto cont

:cont
set jumpto=
set countver=

rem BEGGINING of User Modifiables --------------------------------------

set WM_COMPILER=x86_64-w64-mingw32
set WM_MPLIB=OPENMPI
set WM_PRECISION_OPTION=DP

rem END OF USER MODIFIABLES ---------------------------------------------

set USER=ofuser
set USERNAME=ofuser
set WM_PROJECT=OpenFOAM
set WM_PROJECT_VERSION=2.1.x
set FOAM_INST_DIR=%HOME%
rem set FOAM_INST_DIR=%HOME%\%WM_PROJECT%
set WM_PROJECT_INST_DIR=%FOAM_INST_DIR%
set WM_PROJECT_DIR=%FOAM_INST_DIR%\%WM_PROJECT%-%WM_PROJECT_VERSION%
set WM_PROJECT_USER_DIR=%HOME%\%USER%-%WM_PROJECT_VERSION%
set WM_THIRD_PARTY_DIR=%WM_PROJECT_INST_DIR%\ThirdParty-%WM_PROJECT_VERSION%
set WM_OS=MSwindows

set WM_ARCH=linux
set WM_COMPILE_OPTION=Opt
set WM_JAVAC_OPTION=Opt

set FOAM_SIGFPE=""
set WM_COMPILER_ARCH=""
set WM_COMPILER_LIB_ARCH=""
set WM_CC=%WM_COMPILER%-gcc
set WM_CXX=%WM_COMPILER%-g++
set FOAM_JOB_DIR=%FOAM_INST_DIR%\jobControl
set WM_DIR=%WM_PROJECT_DIR%\wmake
set WM_LINK_LANGUAGE=c++
set WM_OPTIONS=%WM_ARCH%%WM_COMPILER%%WM_PRECISION_OPTION%%WM_COMPILE_OPTION%

set FOAM_SRC=%WM_PROJECT_DIR%\src
set FOAM_LIB=%WM_PROJECT_DIR%\lib
set FOAM_LIBBIN=%FOAM_LIB%
set FOAM_APP=%WM_PROJECT_DIR%\applications
set FOAM_APPBIN=%WM_PROJECT_DIR%\bin

set FOAM_TUTORIALS=%WM_PROJECT_DIR%\tutorials
set FOAM_UTILITIES=%FOAM_APP%\utilities
set FOAM_SOLVERS=%FOAM_APP%\solvers
set FOAM_USER_LIBBIN=%WM_PROJECT_USER_DIR%\lib
set FOAM_USER_APPBIN=%WM_PROJECT_USER_DIR%\bin
set FOAM_RUN=%WM_PROJECT_USER_DIR%\run

rem IF "%WM_MPLIB%"=="dummy" set mpi_version=dummy
IF "%WM_MPLIB%"=="OPENMPI" set mpi_version=openmpi

rem set MPI_HOME=%WM_THIRD_PARTY_DIR%\%mpi_version%
rem set MPI_ARCH_PATH=%WM_THIRD_PARTY_DIR%\platforms\%WM_ARCH%%WM_COMPILER%\%mpi_version%

rem set MPICH_ROOT=%MPI_ARCH_PATH%
set FOAM_MPI_LIBBIN=%FOAM_LIBBIN%\%mpi_version%
set MPI_BUFFER_SIZE=20000000

rem set ParaView_VERSION=3.8.0

rem set ParaView_INST_DIR=%WM_THIRD_PARTY_DIR%\paraview-%ParaView_VERSION%
rem set ParaView_DIR=%WM_THIRD_PARTY_DIR%\platforms\%WM_ARCH%%WM_COMPILER%\paraview-%ParaView_VERSION%

set PATH=%PATH%;%FOAM_MPI_LIBBIN%;%FOAM_JOB_DIR%;%WM_PROJECT_USER_DIR%\lib\%WM_OPTIONS%;%WM_PROJECT_USER_DIR%\applications\bin\%WM_OPTIONS%;%FOAM_APPBIN%;%FOAM_LIBBIN%;%WM_DIR%;%WM_PROJECT_DIR%\bin;%ParaView_DIR%\bin

%1 %2 %3 %4 %5 %6 %7 %8 %9



gompi.bat

@echo off
rem ------------------------------------------------------------------------------
rem ========= |
rem \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
rem \\ / O peration |
rem \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
rem \\/ M anipulation |
rem ------------------------------------------------------------------------------
rem License
rem This file is part of blueCAPE's unofficial mingw patches for OpenFOAM.
rem
rem OpenFOAM is free software: you can redistribute it and/or modify it
rem under the terms of the GNU General Public License as published by
rem the Free Software Foundation, either version 3 of the License, or
rem (at your option) any later version.
rem
rem OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
rem for more details.
rem
rem You should have received a copy of the GNU General Public License
rem along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
rem
rem Script
rem gompi.bat
rem
rem Description
rem This batch file is analogous to foamJob, but for Windows Command Line.
rem
rem ------------------------------------------------------------------------------
@echo on
@set /A x_numprocs=4
@for /D %%a in (processor*) do set /A x_numprocs=x_numprocs+1

mpiexec -n %x_numprocs% -x HOME -x PATH -x USERNAME -x WM_PROJECT_DIR -x WM_PROJECT_INST_DIR -x WM_OPTIONS -x FOAM_LIBBIN -x FOAM_APPBIN -x FOAM_USER_APPBIN -x MPI_BUFFER_SIZE %1 -parallel %2 %3 %4 %5 %6 %7 %8 %9

@set x_numprocs=


Thanks in advance for your help!

User avatar
machin
162
Joined: 25 Nov 2008, 14:45

Re: Khamsin Virtual Racecar Challenge 2014

Post

Aero Coefficient vs Lap Time chart for the Nurburgring round (FYI: The KVRC best limit curve does not include results from Silverstone).

Image
COMPETITION CAR ENGINEERING -Home of VIRTUAL STOPWATCH