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

How to remesh or realign the mesh in transient analysis

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ping

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2017, 04:58
Default How to remesh or realign the mesh in transient analysis
  #1
New Member
 
Abhishek Patil
Join Date: Oct 2016
Posts: 20
Rep Power: 9
abhishek_patil_06 is on a distinguished road
Hi
I'm doing transient analysis of electronic throttle valve. In case setup of this problem i used morphing(motion wise) and rotation motion. With the help of this two motion i'm able to generate rotational motion of throttle plate, but unable to realign the mesh after some degree of rotation and because this after 10 degree rotation some cells are going in negative volume. Is anyone done this type of simulation or know how to realign the mesh in star ccm+?
For better idea attaching the screenshotsafter rotaion.PNG

before rotation.PNG
abhishek_patil_06 is offline   Reply With Quote

Old   January 18, 2017, 07:14
Default
  #2
Member
 
Nils Hennig
Join Date: Apr 2015
Posts: 44
Rep Power: 11
Fiedde1887 is on a distinguished road
I would create a Threshold with bad cell Quality or high skewed cells and create a stopping criteria with that. After that you can create a macro wich tell the Simulation to mesh - run until criteria is realised - mesh - run ...etc.
I think, that should work
Fiedde1887 is offline   Reply With Quote

Old   January 18, 2017, 16:24
Default
  #3
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
The method to simply remesh after a certain threshold for a mesh metric is reached will not help here. Instead of remeshing the current position of the volume mesh the initial position of it will be remeshed. The reason is that the volume mesh is always created from the provided geometry which doesn't move together with the volume mesh.
If you want to remesh from the current position of the volume mesh you need to extract the surface mesh from it by a right-click on the Representation->Volume Mesh->Extract Surface. This will create a new Surface Representation that represents a triangulted version of the volume mesh surface. You can now export it and re-import it to REPLACE the old initial surface to remeesh from there. Depending on your geometry tree structure this can be tedious because you possibly don't have the same structure under parts than under regions.
The second problem with this method is that you slightly modify the geometry with each remeshing step as curved surfaces get shrinked or stretched. The third problem is that it's irreversible because with every remeshing step you replace the initial geoemtry of the previous step and cannot go back to it.

Instead of that I would look into the morpher setup in the first place. It seems that you have only applied a motion to the valve itself. The planar surface at the bottom and top seem to have a fixed boundary conditions. This leads to bad meshes after only a few timesteps. A better solution is to apply a "Fixed Plane" or "In-Plane" condition to them. "Floating" is possible as well but not very accurate. If your motion is only small this is maybe enough for your setup. Otherwise I would think about using sliding or overset interface to allow larger displacements.
Schwob77 is offline   Reply With Quote

Old   January 19, 2017, 04:37
Default
  #4
New Member
 
Abhishek Patil
Join Date: Oct 2016
Posts: 20
Rep Power: 9
abhishek_patil_06 is on a distinguished road
Thank you for your response.
In plane or fixed plane option will not work because my wall is circular. As you suggested i tried floating option but it doesn't work, you will get idea by seeing this screenshot while using floating option.Floating.PNG

floating_cross.PNG
abhishek_patil_06 is offline   Reply With Quote

Old   January 19, 2017, 05:02
Default
  #5
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
In this case I would use "slide on guide surface" for the boundary. That one will keep them on the surface but still allow a motion to avoid bad skewness after each timstep.
Schwob77 is offline   Reply With Quote

Old   January 19, 2017, 15:20
Default
  #6
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 24
me3840 is on a distinguished road
Quote:
Originally Posted by Fiedde1887 View Post
I would create a Threshold with bad cell Quality or high skewed cells and create a stopping criteria with that. After that you can create a macro wich tell the Simulation to mesh - run until criteria is realised - mesh - run ...etc.
I think, that should work
In my experience this is really unreliable. It's much better to make a macro that detects negative volume cells when they occur.

As far as this problem goes, you can probably use slide on guide surface. An alternative is using overset.
me3840 is offline   Reply With Quote

Old   January 31, 2017, 01:01
Default
  #7
New Member
 
Abhishek Patil
Join Date: Oct 2016
Posts: 20
Rep Power: 9
abhishek_patil_06 is on a distinguished road
Thanks for your response.
I tried with slide on guide surface, it worked up to 55 degree of rotation after that cells are going in negative volume. when i seen cross section of mesh came to know that mesh is not realigning just simply stretching or compressing the cells. Is there any option to realign the mesh after particular skewness? Or can we write macro if so please explain me some basic step as i'm new to this
after rotaion.PNG

before rotation.PNG
abhishek_patil_06 is offline   Reply With Quote

Old   January 31, 2017, 08:31
Default
  #8
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
i would be doing this with zero gap overset mesh and this will get around all your mesh distortion issues and no need to remesh

but if you really want to continue with the painful remeshing route then i suggest you don't use extract surface since this changes the surface slightly at every extraction

the modern way of doing this is to use parts based meshing operations - you need to report on the angle of the throttle and at remesh time you transform the throttle part to the new angle and then do the remesh and then tranform it back so that it is in the starting position for the next reported angle for another remesh
cwl likes this.
ping is offline   Reply With Quote

Old   February 7, 2017, 15:25
Default
  #9
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
I have no macro at hand that I could share with you. However in general the degree of deformation you show here indicates that it would be something for an overset mesh setup.
Schwob77 is offline   Reply With Quote

Old   March 2, 2017, 05:32
Default
  #10
New Member
 
Abhishek Patil
Join Date: Oct 2016
Posts: 20
Rep Power: 9
abhishek_patil_06 is on a distinguished road
Hi Ping
As you suggested i did overset mesh with zero gap. When i diagnose the mesh there was no error, but when the solution was initialized some cells near the throttle plate and body wall were becoming in active. Due to this problem solution is diverging. You can see it below images.can you suggest me how to troubleshoot this error? Before initialization.JPG

After initialization.JPG

Cross section.JPG
abhishek_patil_06 is offline   Reply With Quote

Old   March 5, 2017, 04:29
Default
  #11
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
you need to search the steve support portal for overset and read the good article on how to debug overset cases ie view the overset representation and look for where the various cell types are and ensure hole cutting has happened correctly
ping 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
transient analysis with p-v coupled solver? ciftci.ibrahim FLUENT 0 August 5, 2016 09:45
Transient Analysis of a Car raghulvr FLUENT 0 April 23, 2016 08:22
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[ICEM] remesh one surface without regenerating the whole 3D mesh openfoammaofnepo ANSYS Meshing & Geometry 0 January 16, 2014 18:22
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03


All times are GMT -4. The time now is 07:40.