CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Urgent Help: Surface Wrapper & Contact Prevention (Crashes using more than one CP)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By SoAero

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2018, 07:44
Default Urgent Help: Surface Wrapper & Contact Prevention (Crashes using more than one CP)
  #1
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
Hello Guys,

I'm a master student of Motorsport Engineering and I'm currently in the last part of my dissertation studying the Aerodynamic Impacts of the Halo in a Formula One car.

I'm currently trying to mesh and run simulations on the Perrinn Formula 1 car, so then I can put the standard Halo and different Halo geometries I created to study their influences and try to reduce the impact of the Halo in the car.

However, I'm having some problems. I tried to mesh the car using only the Surface Remesher, but I started having too many errors on the surface (The original CAD is not mine, so I don't have a lot of freedom to change it), so I opted to go with Surface Wrapper.

After doing the first mesh sucessfully, I found that the CAD was too detailed (5M cells JUST in surface mesh), and then I started simplifying the car, but now I'm having problems applying the Surface Mesh.

If I try to mesh the car WITHOUT contact prevention, it meshes alright and the surface mesh doesn't show a lot of problems, but when I try to apply some contact preventions is where the nightmare beggins. If I apply just one contact prevention, it works fine and meshes in 20min. If I try to apply more than one contact prevention, it just loops in the "Performing Contact Prevention" and then crashes without memory. I though it could be one of the contact preventions that was crashed, but the mesh without contact prevention seems ok, so I don't think it can be this!

I tried to find anything online, tried a lot of different combinations and nothing seems to work!

Could ANYONE please help me with this? My dissertation is basically stuck, which is getting alarming to me!

Here is the file in case someone can have a look, which is obviously easier than just reading my text!

https://drive.google.com/file/d/1Ftz...ew?usp=sharing

Thank you! If you need any further information, please don't hesitate to ask! I'll be coming back here every hour!
AndreP is offline   Reply With Quote

Old   July 31, 2018, 07:47
Default
  #2
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
On the link I shared above, there are 4 contact preventions. If you turn them off, you'll be able to do the Surface Mesh, but as soon as I turn on MORE than one, it just stucks there until it crashes!

I tried to mesh seperatedly with the 4 contact preventions (1 at the time) and all the 4 meshed! It's really when I add more than one!

Be carefull, don't try to do Volume Mesh unless you're runing in a Cluster, as I'm expecting something above 40M volume cells on that, and if you're running it on a Laptop or normal computer, probably it'll suck all your memory and crash! Just mesh the Surface Mesh (around 2M)
AndreP is offline   Reply With Quote

Old   July 31, 2018, 08:31
Default
  #3
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
I can have the mesh with roughly good quality without contact prevention, but this increases the number of cells, which will be huge when I do volume mesh, so I'm trying to only refine the zones I really need!
AndreP is offline   Reply With Quote

Old   July 31, 2018, 12:14
Default
  #4
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
It's strange that now, that I've switch to a Region Based Mesh (RBM) from a Parts Based Mesh (PBM), the Contact Prevention is now working and allows me to have more than one? What could be causing this?

To change from PBM to RBM I didn't started from scratch, I just deleted the Regions, the Operations and maintained all the parts! What could be the cause of the problem of the Contact Prevention in the PBM operation?
AndreP is offline   Reply With Quote

Old   August 1, 2018, 06:36
Default
  #5
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
I know sometimes it's hard and boring to keep up with some of us, new arrivals here to the forum, with dumb and basic questions, that doesn't even bother doing some research first.

I'm a masters student, so if I get to the point of coming here to ask a question is because I already used all the research I could to find my problem, including Help files and everything! So if anyone has any hint or if anyone has ever this happened to him, it would be of major help!
AndreP is offline   Reply With Quote

Old   August 1, 2018, 22:30
Default
  #6
New Member
 
Owen
Join Date: Aug 2018
Posts: 20
Rep Power: 7
SoAero is on a distinguished road
What’s the floor set to on your contact prevention controls? It defaults to 1e-07 and that super small size is consistent with over refinement. Over refinement could cause your machine to run out of memory.
granzer likes this.
SoAero is offline   Reply With Quote

Old   August 2, 2018, 06:56
Default
  #7
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
Quote:
Originally Posted by SoAero View Post
What’s the floor set to on your contact prevention controls? It defaults to 1e-07 and that super small size is consistent with over refinement. Over refinement could cause your machine to run out of memory.
You are probably right. Because I always used RBM and in RBM you have to assign the value, which I normaly use 0.001m, and in PBM he automatically assign the 1e-07, and I didn't changed that! That could be very well the problem here! Thank you for the hint! Although now I'm already running the RBM I'll try to go back one day to the PBM and try to change that to see if it runs! Thank you!
AndreP is offline   Reply With Quote

Old   August 2, 2018, 07:04
Default
  #8
Member
 
André Pinto
Join Date: Oct 2017
Posts: 81
Rep Power: 8
AndreP is on a distinguished road
Didn't even took that long. Yes, it was exactly that problem! Thank you for the hint!

Reduced the contact prevention to 0.001 and it went by pretty quick! Thank you man!

Will leave here some "search related google searches" for anyone having the same problem!

" contact prevention crash error loop memory "
AndreP 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Surface Wrapper sieginc. STAR-CCM+ 2 September 17, 2013 08:19
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 04:31
About define different contact angles to each surface within one component herosimon FLOW-3D 3 September 28, 2010 22:12
urgent!!! surface dpdt values in acoustics samad87 FLUENT 0 August 31, 2009 23:53
reference on surface tension and the contact angle Xicheng Jia Main CFD Forum 3 August 25, 2003 14:57


All times are GMT -4. The time now is 12:47.