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
Commits
37095c13
Commit
37095c13
authored
5 months ago
by
Kenan Cengiz
Browse files
Options
Downloads
Patches
Plain Diff
Update Liutex.py
parent
5826df57
Branches
cengiz-main-patch-75794
No related tags found
1 merge request
!1
output vtu instead
Pipeline
#18147
failed
5 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Liutex.py
+4
-4
4 additions, 4 deletions
Liutex.py
with
4 additions
and
4 deletions
Liutex.py
+
4
−
4
View file @
37095c13
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment