Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NTRfC
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
TFD - Institut für Turbomaschinen und Fluid-Dynamik
tools
NTRfC
Commits
c6eb876e
Commit
c6eb876e
authored
2 years ago
by
many
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
3dd12b38
No related branches found
No related tags found
2 merge requests
!10
Merge recent changes in master to we_ahrens
,
!7
udate project structure
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_ntrfc_postprocessing.py
+6
-3
6 additions, 3 deletions
tests/test_ntrfc_postprocessing.py
with
6 additions
and
3 deletions
tests/test_ntrfc_postprocessing.py
+
6
−
3
View file @
c6eb876e
from
ntrfc.postprocessing.turbo.probegeneration
import
create_profileprobes
,
create_midpassageprobes
from
ntrfc.utils.geometry.airfoil_generators.naca_airfoil_creator
import
naca
from
ntrfc.utils.geometry.pointcloud_methods
import
extract_geo_paras
import
pyvista
as
pv
import
numpy
as
np
def
test_createprofileprobes
():
from
ntrfc.postprocessing.turbo.probegeneration
import
create_profileprobes
from
ntrfc.utils.geometry.airfoil_generators.naca_airfoil_creator
import
naca
from
ntrfc.utils.geometry.pointcloud_methods
import
extract_geo_paras
naca_code
=
"
6009
"
angle
=
10
# deg
res
=
240
...
...
@@ -19,6 +19,9 @@ def test_createprofileprobes():
assert
probes_ss
.
number_of_points
==
n_ssprobes
,
"
number of suction side probes not correct
"
def
test_create_midpassageprobes
():
from
ntrfc.postprocessing.turbo.probegeneration
import
create_midpassageprobes
from
ntrfc.utils.geometry.airfoil_generators.naca_airfoil_creator
import
naca
from
ntrfc.utils.geometry.pointcloud_methods
import
extract_geo_paras
naca_code
=
"
6009
"
angle
=
10
# deg
res
=
240
...
...
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