|
[Sponsors] |
Issue with Missing Boundary Conditions after Grid Deformation using CGNS in SU2 Versi |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2024, 11:35 |
Issue with Missing Boundary Conditions after Grid Deformation using CGNS in SU2 Versi
|
#1 |
New Member
zhou
Join Date: Mar 2019
Posts: 8
Rep Power: 7 |
Hello everyone,
I am currently facing an issue while working with SU2 version 7.21 and CGNS files. My goal is to perform grid deformation with both input and output in CGNS format. Here is what I have done so far: 1. To specify the input format as CGNS, I used `MESH_FORMAT= CGNS`. 2. To set the output grid format to CGNS, I modified `SU2_DEF.cpp` with the following line: `output[iZone]->WriteToFile(config_container[iZone], geometry_container[iZone], CGNS, config->GetMesh_Out_FileName());`. Problem: After performing `FFD_setting`, the output CGNS grid file does not contain the boundary condition information. I am unsure whether this is a limitation of the current version or if I am missing something in the process. Details: - Software: SU2 (Stanford University Unstructured) version 7.21 - File Format: CGNS (CFD General Notation System) - Problem: Missing boundary conditions after grid deformation Questions: 1. Has anyone else encountered this issue with SU2 version 7.21 and CGNS files? 2. Are there any additional steps or configurations needed to ensure boundary conditions are preserved after `FFD_setting`? 3. Is this a known limitation of SU2 version 7.21, or am I missing something in the implementation? Any insights, suggestions, or solutions would be greatly appreciated. Thank you in advance for your help! |
|
July 13, 2024, 03:58 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Hi,
We do not write the boundary data to cgns. If you want to add it, you can consult the cgns documentation and add this functionality to our CGNSFileWriter implementation. We read cgns with boundary data in CGNSMeshReaderFVM, you can have a look at the ReadCGNSSurfaceSection and use it as a starting point to create a function to write surface data. It would be a very useful addition to have. If you get this working, we should definitely add it to the main SU2 version. |
|
Tags |
cgns, boundary condition |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reverse flow in centrifugal fan blades | kalm | CFX | 20 | December 2, 2023 07:25 |
SU2-7.0.1 on ubuntu 18.04 | hyunko | SU2 Installation | 7 | March 16, 2020 05:37 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
CFD analaysis of Pelton turbine | amodpanthee | CFX | 31 | April 19, 2018 19:02 |
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field | xiexing | CFX | 3 | March 29, 2017 11:00 |