Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Exploring the 3rd Generation Vortex Identification Methods
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armand Duplex Guetse Tiogo
Exploring the 3rd Generation Vortex Identification Methods
Merge requests
!1
output vtu instead
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
output vtu instead
cengiz-main-patch-75794
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Open
Kenan Cengiz
requested to merge
cengiz-main-patch-75794
into
main
5 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
prefer vtu over vtk if the input is already vtu
0
0
Merge request reports
Viewing commit
37095c13
Show latest version
1 file
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
37095c13
Update Liutex.py
· 37095c13
Kenan Cengiz
authored
5 months ago
Liutex.py
+
4
−
4
Options
@@ -200,8 +200,8 @@ def main():
mesh
=
update_mesh_with_omega_liutex
(
mesh
,
a
,
b
)
# Save the mesh with vorticity and omega data to a VTK file
mesh
.
save
(
"
Liu_Rortex_T106C_Re80K_19.09.vt
k
"
)
print
(
"
Dataset saved as Liu_Rortex_T106C_Re80K_19.09.vt
k
"
)
mesh
.
save
(
"
Liu_Rortex_T106C_Re80K_19.09.vt
u
"
)
print
(
"
Dataset saved as Liu_Rortex_T106C_Re80K_19.09.vt
u
"
)
# Selecting seed points in high vorticity regions
vorticity_threshold
=
np
.
percentile
(
vorticity_magnitude
,
90
)
# Top 10% vorticity magnitude
@@ -224,8 +224,8 @@ def main():
# Save vorticity lines
vorticity_mesh
=
mesh
.
streamlines_from_source
(
seed_polydata
,
vectors
=
'
Velocity
'
)
vorticity_mesh
.
save
(
"
Vorticity_Lines_Blade_19.09.vt
k
"
)
print
(
"
Vorticity lines saved as Vorticity_Lines_Blade_19.09.vt
k
"
)
vorticity_mesh
.
save
(
"
Vorticity_Lines_Blade_19.09.vt
u
"
)
print
(
"
Vorticity lines saved as Vorticity_Lines_Blade_19.09.vt
u
"
)
plotter
.
add_axes
()
plotter
.
view_isometric
()
Loading