CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Shape Design

How to add new nodes in a sliding mesh simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2024, 12:01
Default How to add new nodes in a sliding mesh simulation
  #1
New Member
 
Monza e Brianza
Join Date: Jun 2024
Posts: 2
Rep Power: 0
Simo2001 is on a distinguished road
Hello everyone,

I'm currently working with sliding meshes in su2 and I'm trying to modify the code to perform a new interface treatment.

The idea I developed requires to add some nodes in the grid in specific positions.
I know that, for each new point, I will have to define the coordinates of the new point but also, the neighbouring points, the linked edges, the connectivity, whether it belongs to a marker or not and possibly other things.
I assume I will have to work with the CGeometry class and its child classes but I don't know how exactly.

Does anyone know how to do that?

Thanks
S
Simo2001 is offline   Reply With Quote

Old   June 26, 2024, 13:43
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17
bigfootedrockmidget is on a distinguished road
This is very challenging.
Does it really need to be performed in real-time? If it is not needed every iteration, you can create a python function for it and just create an entire new instance of basically everything.
bigfootedrockmidget is offline   Reply With Quote

Old   July 17, 2024, 07:03
Default
  #3
New Member
 
Monza e Brianza
Join Date: Jun 2024
Posts: 2
Rep Power: 0
Simo2001 is on a distinguished road
Actually, it's not needed every iteration. It has to be done only once at the start of the simulation.
Simo2001 is offline   Reply With Quote

Old   July 17, 2024, 16:48
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17
bigfootedrockmidget is on a distinguished road
Then I would just read the su2 mesh in python or something similar and manipulate the mesh. Just make sure that the mesh is conformal, no hanging nodes allowed.
Or if you have created the geometry in gmsh, you can rebuild it from there maybe...
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
interface, sliding mesh


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
Sliding mesh simulation Rotor tomasOrt Main CFD Forum 0 March 21, 2024 06:01
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 3 August 4, 2023 12:38
2D Single Bladed VAWT Simulation with Sliding Mesh Problem peter go FLUENT 8 September 8, 2015 10:39
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 20:14.