|
[Sponsors] |
Forces and moments calculation with .VTU volume file file |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 5 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 | ||
Member
Giovanni Medici
Join Date: Mar 2014
Posts: 47
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 |
|||
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
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) |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 5 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
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.
|
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
...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.
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 5 ![]() |
@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.
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
Is your vtm file named flow.vtm? Does su2 create a folder called flow that contains the vtu files?
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 5 ![]() |
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" |
|
![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 596
Rep Power: 17 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#11 | |
New Member
Abhijith
Join Date: Nov 2020
Location: United Kingdom
Posts: 19
Rep Power: 5 ![]() |
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 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of forces and moments acting on a wing in OpenFOAM. | puck1 | OpenFOAM | 1 | May 11, 2024 06:54 |
Forces, moments and torque calculation | foamiste | OpenFOAM Post-Processing | 5 | October 7, 2022 04:16 |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 18:05 |
objects oscillate at high speed causing collapse in Dynamic mesh and overset mesh ca | insane | OpenFOAM Running, Solving & CFD | 0 | May 17, 2020 22:35 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 10:42 |