Skip to content
Snippets Groups Projects
Verified Commit 6f422217 authored by Paul Dechamps's avatar Paul Dechamps :speech_balloon:
Browse files

(doc) Added header doc to tests

parent 4cdab170
No related branches found
No related tags found
1 merge request!1BLASTER v1.0
Pipeline #50981 passed
import blast.utils as vutils #!/usr/bin/env python3
import numpy as np # -*- coding: utf-8 -*-
# Copyright 2024 University of Liège
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# @author Paul Dechamps
# @date 2024
# Optimization case using NACA parametrization
from fwk.wutils import parseargs from fwk.wutils import parseargs
import fwk import fwk
...@@ -9,10 +28,9 @@ from fwk.coloring import ccolors ...@@ -9,10 +28,9 @@ from fwk.coloring import ccolors
from blast.api.mda_api import BlasterSolver from blast.api.mda_api import BlasterSolver
from blast.api.mda_api import BlasterModeUpdater from blast.api.mda_api import BlasterModeUpdater
import numpy as np
import openmdao.api as om import openmdao.api as om
import math
def cfgInviscid(nthrds, verb): def cfgInviscid(nthrds, verb):
import os.path import os.path
# Parameters # Parameters
......
import blast.utils as vutils #!/usr/bin/env python3
import numpy as np # -*- coding: utf-8 -*-
# Copyright 2024 University of Liège
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# @author Paul Dechamps
# @date 2024
# Optimization for a subsonic case
from fwk.wutils import parseargs from fwk.wutils import parseargs
import fwk import fwk
...@@ -9,10 +28,9 @@ from fwk.coloring import ccolors ...@@ -9,10 +28,9 @@ from fwk.coloring import ccolors
from blast.api.mda_api import BlasterSolver from blast.api.mda_api import BlasterSolver
from blast.api.mda_api import BlasterModeUpdater from blast.api.mda_api import BlasterModeUpdater
import numpy as np
import openmdao.api as om import openmdao.api as om
import math
def cfgInviscid(nthrds, verb): def cfgInviscid(nthrds, verb):
import os.path import os.path
# Parameters # Parameters
......
import blast.utils as vutils #!/usr/bin/env python3
import numpy as np # -*- coding: utf-8 -*-
# Copyright 2024 University of Liège
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# @author Paul Dechamps
# @date 2024
# Optimization for a transonic case
from fwk.wutils import parseargs from fwk.wutils import parseargs
import fwk import fwk
...@@ -9,10 +28,9 @@ from fwk.coloring import ccolors ...@@ -9,10 +28,9 @@ from fwk.coloring import ccolors
from blast.api.mda_api import BlasterSolver from blast.api.mda_api import BlasterSolver
from blast.api.mda_api import BlasterModeUpdater from blast.api.mda_api import BlasterModeUpdater
import numpy as np
import openmdao.api as om import openmdao.api as om
import math
def cfgInviscid(nthrds, verb): def cfgInviscid(nthrds, verb):
import os.path import os.path
# Parameters # Parameters
......
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2022 University of Liège # Copyright 2024 University of Liège
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
......
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2022 University of Liège # Copyright 2023 University of Liège
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# @author Paul Dechamps # @author Paul Dechamps
# @date 2022 # @date 2023
# Test the blaster 3D implementation. # Test the blaster 3D implementation.
# Tested functionalities; # Tested functionalities;
# - Fully turbulent 3D compressible flow. # - Fully turbulent 3D compressible flow.
......
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2022 University of Liège # Copyright 2024 University of Liège
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
......
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2022 University of Liège # Copyright 2023 University of Liège
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# @author Paul Dechamps # @author Paul Dechamps
# @date 2022 # @date 2023
# Test the blast implementation on the 3D LANN wing. # Test the blast implementation on the 3D LANN wing.
# Imports. # Imports.
......
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2022 University of Liège # Copyright 2023 University of Liège
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# @author Paul Dechamps # @author Paul Dechamps
# @date 2022 # @date 2023
# Test the blast implementation on the 3D ONERA M6 wing. # Test the blast implementation on the 3D ONERA M6 wing.
# Imports. # Imports.
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
# @author Paul Dechamps # @author Paul Dechamps
# @date 2022 # @date 2022
# This test case comes from Cook,P. et al published in
# AGARD Report AR, Vol. 138, 1979, p. 47.
# Experimental conditions (AoA and Mach) are corrected in NPARC
# alliance verification and validation archive 2000.
# Farfield mesh size is 4.547 which corresponds to a growth ratio of 1.1 # Farfield mesh size is 4.547 which corresponds to a growth ratio of 1.1
# Imports. # Imports.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment