# SimpleFoam Race Car case, solution diverges

 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 2, 2012, 13:45 SimpleFoam Race Car case, solution diverges #1 New Member   Join Date: Nov 2012 Location: Scotland, UK Posts: 19 Rep Power: 4 Hi I've been using simpleFoam to analyse our FSAE car and then later develop an aero kit for it. I'm using a k-w SST model and see below for problem outline. I have 7 patches/ .obj's, 4 wheels, chassis+driver+engine, nose and side panels, and suspension. They are refined (6 7) except for the chassis which is (5 6) and each cell outside refinement region is 1m cubed. The omega is wrong in the image, using 0.622, reduced size of boundaries as well to x=60m, y=10m, z=8m. Refinement box is also slightly reduced. So I have run it at 12.5m/s and it worked ok, you can see the residual below. I've tried many variations and simplifications of geometry, however the oscillations don't disappear. I believe this is cause by vortexes being shed from the wheels. The blue line represents 12.5 m/s, and the red 15 m/s - basically I want Cd, Cl, and Cm values, however I want to ensure they are velocity independent which is why I'm running for velocities above and below 12.5. The settings are identical for both except @ 20m/s, k = 0.135, w= 0.745. my fvSolution file is based off of the motorBike tutorial, and the only changes are relTol = 0.001, and tolerance is at 1e-09. fvSchemes is untouched and is identical to the motorbike case. as you can see the solution blows up, and it happens 9 times out of 10, with different settings, I've no idea why this is happening or how I can prevent it, any help would be appreciated. I am running this case in parallel and used the scotch method for decomposing. Using 4 cores. Last edited by GPan1; December 2, 2012 at 19:36.

December 3, 2012, 14:22
#2
New Member

Join Date: Nov 2012
Location: Scotland, UK
Posts: 19
Rep Power: 4
Right so i narrowed it down and it could be the mesh causing this, I get an error with skewed faces, any help in solving, or fixing this mesh would be appreciated.

Quote:
 nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create polyMesh for time = 0 Time = 0 Mesh stats points: 3389958 faces: 9676987 internal faces: 9472227 cells: 3148122 boundary patches: 12 point zones: 0 face zones: 0 cell zones: 0 Overall number of cells of each type: hexahedra: 3014195 prisms: 17509 wedges: 0 pyramids: 0 tet wedges: 215 tetrahedra: 3 polyhedra: 116200 Checking topology... Boundary definition OK. Cell to face addressing OK. Point usage OK. Upper triangular ordering OK. Face vertices OK. Number of regions: 1 (OK). Checking patch topology for multiply connected surfaces ... Patch Faces Points Surface topology frontAndBack 880 1008 ok (non-closed singly connected) inlet 80 99 ok (non-closed singly connected) outlet 80 99 ok (non-closed singly connected) lowerWall 36502 37661 ok (non-closed singly connected) upperWall 550 616 ok (non-closed singly connected) body_body 55798 61908 multiply connected (shared edge) fl_fl 12507 13550 multiply connected (shared edge) fr_fr 12506 13552 multiply connected (shared edge) rl_rl 12593 13851 multiply connected (shared edge) rr_rr 12607 13869 multiply connected (shared edge) panels_panels 43519 45972 ok (non-closed singly connected) sus_sus 17138 19641 multiply connected (shared edge) <

 Tags car, divergence, residuals, simplefoam

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post ysh1227 OpenFOAM Running, Solving & CFD 2 May 7, 2015 10:13 alsdia OpenFOAM Verification & Validation 1 November 2, 2012 06:37 soonic OpenFOAM Running, Solving & CFD 0 March 29, 2012 10:40 Edu Main CFD Forum 0 September 29, 2005 11:22 Tudor Miron CFX 15 April 2, 2004 06:18

All times are GMT -4. The time now is 03:45.