|
[Sponsors] |
Forces and moments calculation with .VTU volume file file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 20, 2023, 02:54 |
Forces and moments calculation with .VTU volume file file
|
#1 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 6 |
I'm trying to calculate forces and moments over a wing surface. SU2 is writing a .VTU file but there are no boundary zones or surfaces to integrate and find the forces and moments. Is there a workaround to split the volume zone as boundaries to perform the required calculation. Please help me with this.
Thanks Abhijith |
|
June 20, 2023, 04:56 |
|
#2 | ||
Member
Giovanni Medici
Join Date: Mar 2014
Posts: 48
Rep Power: 12 |
Quote:
SU2 outputs two *.VTU (s), one for the volume and one for the surface Quoting directly the tutorials : https://su2code.github.io/tutorials/Inviscid_Bump/ Quote:
SU2 v7: Forces breakdown file? For sure I used that feature in the past. It was something like adding to your cfg file the following: Code:
BREAKDOWN_FILENAME= forces_breakdown.txt WRT_FORCES_BREAKDOWN = YES |
|||
June 20, 2023, 04:58 |
|
#3 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Hi,
Just rerun it with 1 iteration and write a PARAVIEW_MULTIBLOCK instead of a regular PARAVIEW. You can also get the coefficients directly in SU2. Just add AERO_COEFF to HISTORY_OUTPUT The coefficients are computed over the surfaces in MARKER_MONITORING using REF_LENGTH, REF_AREA and REF_ORIGIN_MOMENT_X (and _Y and _Z) |
|
June 21, 2023, 10:13 |
|
#4 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 6 |
Dear Giovanni (@giovanni.medici) and @bigfootedrockmidget,
Thanks for both of your inputs. I did the following changes Code:
OUTPUT_FILES = (PARAVIEW) Code:
OUTPUT_FILES = (PARAVIEW_MULTIBLOCK) Ideally, I require the volume file (eg. flow.vtu) with the boundary zone to do some postprocessing, I managed to get the surface_flow file already. Please help me fix the error. Many thanks. I really appreciate the your time and inputs. Best Abhijith |
|
June 21, 2023, 18:26 |
|
#5 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
What is the content of the vtm file? It is a plain text file and it should contain the names of the vtu files, and the vtu files should have been written to a separate folder.
|
|
June 21, 2023, 18:57 |
|
#6 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
...and the vtm file can be loaded in paraview and you will have all information available. You can then use 'extract block' to select specific mesh elements like the interior or a boundary.
|
|
June 23, 2023, 02:45 |
|
#7 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 6 |
@bigfootedrockmidget thanks for your reply and input. I'm attaching the .vtm file for your reference. There was an error in opening the .vtm file because it is looking for the following files: WING.vtu, FARFIELD.vtu and SYMMETRY.vtu. Even though I have them on both MARKER_PLOTTING= (WING, FARFIELD, SYMMETRY ) and MARKER_MONITORING= (WING, FARFIELD, SYMMETRY). I end up only getting a surface_flow.vtu file as an output.
|
|
June 23, 2023, 16:11 |
|
#8 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Is your vtm file named flow.vtm? Does su2 create a folder called flow that contains the vtu files?
|
|
June 24, 2023, 01:32 |
|
#9 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 6 |
No, SU2 does not create any folder. The file is named just ".vtm". The files shown in the attached image in my previous reply are the only contents inside the working directory.
SU2 Version: Release 7.5.0 "Blackbird" |
|
June 24, 2023, 04:43 |
|
#10 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Your config file works for me with the latest develop version. What operating system are you running on? And did you compile the code yourself or did you use one of the prebuilt executables?
It looks like in your case, su2 does not have any prefix for the filename so your filename is .vtm. And since the prefix is used to create the folder, it cannot write the folder. |
|
June 24, 2023, 09:14 |
|
#11 | |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 6 |
Quote:
I have also tried the latest version of SU2 with full administrative previlage but it works the same way. Is there a way to add a file name to .vtm ? |
||
Tags |
forces and moments, paraview, su2, tecplot, wing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of forces and moments acting on a wing in OpenFOAM. | puck1 | OpenFOAM | 1 | May 11, 2024 07:54 |
Forces, moments and torque calculation | foamiste | OpenFOAM Post-Processing | 5 | October 7, 2022 05:16 |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 19:05 |
objects oscillate at high speed causing collapse in Dynamic mesh and overset mesh ca | insane | OpenFOAM Running, Solving & CFD | 0 | May 17, 2020 23:35 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |