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
Show more breadcrumbs
Aerospace and Mechanical Engineering
blaster
Commits
27ed30ed
Verified
Commit
27ed30ed
authored
11 months ago
by
Paul Dechamps
Browse files
Options
Downloads
Patches
Plain Diff
(chore) Update dart commit
parent
3bf01e74
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
BLASTER v1.0
Pipeline
#23765
failed
11 months ago
Stage: build
Stage: test
Stage: validation
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
blast/interfaces/dart/DartInterface.py
+3
-3
3 additions, 3 deletions
blast/interfaces/dart/DartInterface.py
modules/dartflo
+1
-1
1 addition, 1 deletion
modules/dartflo
with
4 additions
and
4 deletions
blast/interfaces/dart/DartInterface.py
+
3
−
3
View file @
27ed30ed
...
...
@@ -27,8 +27,8 @@ from blast.interfaces.DSolversInterface import SolversInterface
class
DartInterface
(
SolversInterface
):
def
__init__
(
self
,
dartCfg
,
vSolver
,
_cfg
):
try
:
from
modules.dartflo.dart.api.core
import
init
D
art
self
.
inviscidObjects
=
init
D
art
(
dartCfg
,
task
=
dartCfg
[
'
task
'
],
viscous
=
True
)
from
modules.dartflo.dart.api.core
import
init
_d
art
self
.
inviscidObjects
=
init
_d
art
(
dartCfg
,
task
=
dartCfg
[
'
task
'
],
viscous
=
True
)
self
.
solver
=
self
.
inviscidObjects
.
get
(
'
sol
'
)
# Solver
self
.
blw
=
[
self
.
inviscidObjects
.
get
(
'
blwb
'
),
self
.
inviscidObjects
.
get
(
'
blww
'
)]
if
dartCfg
[
'
task
'
]
==
'
optimization
'
:
...
...
@@ -91,7 +91,7 @@ class DartInterface(SolversInterface):
import
modules.dartflo.dart.utils
as
invUtils
if
self
.
cfg
[
'
Format
'
]
==
'
vtk
'
:
print
(
'
Saving Cp files in vtk format. Msh {:s}, Tag {:.0f}
'
.
format
(
self
.
inviscidObjects
[
'
msh
'
].
name
,
self
.
cfg
[
'
saveTag
'
]))
invUtils
.
write
S
lices
(
self
.
inviscidObjects
[
'
msh
'
].
name
,
self
.
cfg
[
'
writeSections
'
],
self
.
cfg
[
'
saveTag
'
],
sfx
=
sfx
)
invUtils
.
write
_s
lices
(
self
.
inviscidObjects
[
'
msh
'
].
name
,
self
.
cfg
[
'
writeSections
'
],
self
.
cfg
[
'
saveTag
'
],
sfx
=
sfx
)
def
save
(
self
,
sfx
=
'
inviscid
'
):
self
.
solver
.
save
(
self
.
inviscidObjects
[
'
wrt
'
],
sfx
)
...
...
This diff is collapsed.
Click to expand it.
dartflo
@
7f5cf5c5
Compare
52a4059c
...
7f5cf5c5
Subproject commit
52a4059c97365dd23e7dba39fb4623623be5769d
Subproject commit
7f5cf5c5c57d9a90406a8051058e1e0ed9676ee4
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