|
[Sponsors] |
How to add new nodes in a sliding mesh simulation |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Monza e Brianza
Join Date: Jun 2024
Posts: 2
Rep Power: 0 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Monza e Brianza
Join Date: Jun 2024
Posts: 2
Rep Power: 0 ![]() |
Actually, it's not needed every iteration. It has to be done only once at the start of the simulation.
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
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... |
|
![]() |
![]() |
![]() |
Tags |
interface, sliding mesh |
|
|
![]() |
||||
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 |