Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
blaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Pour rappel, le service sera inaccessible ce lundi 05/05/25 midi pour raison de mise à jour.
Show more breadcrumbs
Aerospace and Mechanical Engineering
blaster
Commits
3941c1bb
Verified
Commit
3941c1bb
authored
2 months ago
by
Paul Dechamps
Browse files
Options
Downloads
Patches
Plain Diff
(tests) Shorter rae 3D test
parent
32ab3637
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#52222
failed
2 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
blast/tests/dart/t_rae2822_3D.py
+6
-6
6 additions, 6 deletions
blast/tests/dart/t_rae2822_3D.py
with
6 additions
and
6 deletions
blast/tests/dart/t_rae2822_3D.py
+
6
−
6
View file @
3941c1bb
...
...
@@ -92,7 +92,7 @@ def cfgBlast(verb):
# Sections generation parameters
'
sections
'
:
[
np
.
linspace
(
0.05
,
0.9
,
10
)],
# Sections on the wing
'
genSections
'
:
'
auto
'
,
# Section generation technique ['auto', 'file', 'vtk']
'
nPoints
'
:
30
0
,
# Section will have nPoints+1 points because of the duplicate TE
'
nPoints
'
:
25
0
,
# Section will have nPoints+1 points because of the duplicate TE
# Interpolator parameters
'
interpolator
'
:
'
Rbf
'
,
# Interpolator type
...
...
@@ -105,7 +105,7 @@ def cfgBlast(verb):
# Coupling parameters
'
Verb
'
:
verb
,
# Verbosity level of the solver
'
couplIter
'
:
50
,
# Maximum number of iterations
'
couplTol
'
:
1
e-
6
,
# Tolerance of the VII methodology
'
couplTol
'
:
5
e-
2
,
# Tolerance of the VII methodology
'
iterPrint
'
:
1
,
# int, number of iterations between outputs
'
resetInv
'
:
False
,
# bool, flag to reset the inviscid calculation at every iteration.
}
...
...
@@ -154,11 +154,11 @@ def main():
# Test solution
print
(
ccolors
.
ANSI_BLUE
+
'
PyTesting...
'
+
ccolors
.
ANSI_RESET
)
tests
=
CTests
()
tests
.
add
(
CTest
(
'
Cl
'
,
isol
.
getCl
(),
0.135
,
5e-2
))
tests
.
add
(
CTest
(
'
Cd wake
'
,
vsol
.
Cdt
,
0.0
086
,
1e-3
,
forceabs
=
True
))
tests
.
add
(
CTest
(
'
Cd integral
'
,
vsol
.
Cdf
+
isol
.
getCd
(),
0.01
90
,
1e-3
,
forceabs
=
True
))
tests
.
add
(
CTest
(
'
Cl
'
,
isol
.
getCl
(),
0.13
0
5
,
5e-2
))
tests
.
add
(
CTest
(
'
Cd wake
'
,
vsol
.
Cdt
,
0.0
113
,
1e-3
,
forceabs
=
True
))
tests
.
add
(
CTest
(
'
Cd integral
'
,
vsol
.
Cdf
+
isol
.
getCd
(),
0.01
72
,
1e-3
,
forceabs
=
True
))
tests
.
add
(
CTest
(
'
Cdf
'
,
vsol
.
Cdf
,
0.0115
,
1e-3
,
forceabs
=
True
))
tests
.
add
(
CTest
(
'
Iterations
'
,
len
(
aeroCoeffs
[
'
Cl
'
]),
3
,
0
,
forceabs
=
True
))
tests
.
add
(
CTest
(
'
Iterations
'
,
len
(
aeroCoeffs
[
'
Cl
'
]),
4
,
0
,
forceabs
=
True
))
tests
.
run
()
if
not
args
.
nogui
:
...
...
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