diff --git a/blast/mdao/opti_NACA.py b/blast/mdao/opti_NACA.py index 7a8729ad4dd1306a6ce41c1a3822de91815a2073..88c185dbf756eb45152684eba0d56ac71544e1e6 100644 --- a/blast/mdao/opti_NACA.py +++ b/blast/mdao/opti_NACA.py @@ -1,5 +1,24 @@ -import blast.utils as vutils -import numpy as np +#!/usr/bin/env python3 +# -*- 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 import fwk @@ -9,10 +28,9 @@ from fwk.coloring import ccolors from blast.api.mda_api import BlasterSolver from blast.api.mda_api import BlasterModeUpdater +import numpy as np import openmdao.api as om -import math - def cfgInviscid(nthrds, verb): import os.path # Parameters diff --git a/blast/mdao/opti_subsonic.py b/blast/mdao/opti_subsonic.py index a5f86f6555367f00bf90224dbe9ce9d7041c37d2..cccdc9b96213659162147ec33909bb68065256eb 100644 --- a/blast/mdao/opti_subsonic.py +++ b/blast/mdao/opti_subsonic.py @@ -1,5 +1,24 @@ -import blast.utils as vutils -import numpy as np +#!/usr/bin/env python3 +# -*- 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 import fwk @@ -9,10 +28,9 @@ from fwk.coloring import ccolors from blast.api.mda_api import BlasterSolver from blast.api.mda_api import BlasterModeUpdater +import numpy as np import openmdao.api as om -import math - def cfgInviscid(nthrds, verb): import os.path # Parameters diff --git a/blast/mdao/opti_transonic.py b/blast/mdao/opti_transonic.py index b88660987758f6261fb7013ea1315959f9c4c7a7..7ca7ffe7638f1a6c460b36d5eff796a07257a9b4 100644 --- a/blast/mdao/opti_transonic.py +++ b/blast/mdao/opti_transonic.py @@ -1,5 +1,24 @@ -import blast.utils as vutils -import numpy as np +#!/usr/bin/env python3 +# -*- 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 import fwk @@ -9,10 +28,9 @@ from fwk.coloring import ccolors from blast.api.mda_api import BlasterSolver from blast.api.mda_api import BlasterModeUpdater +import numpy as np import openmdao.api as om -import math - def cfgInviscid(nthrds, verb): import os.path # Parameters diff --git a/blast/tests/dart/adjoint_2D.py b/blast/tests/dart/adjoint_2D.py index 049a421232e3145846f5ff44dfffea119083822e..604019ff6534e7bd5f28c544d43c4c9cc5a22adc 100644 --- a/blast/tests/dart/adjoint_2D.py +++ b/blast/tests/dart/adjoint_2D.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- 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"); # you may not use this file except in compliance with the License. diff --git a/blast/tests/dart/rae2822_3D.py b/blast/tests/dart/rae2822_3D.py index f61bc9f5f5b1e40fafbc141dae9afc5828cef58e..40e3d06e6839da9f53318d35604fb96a6ae238c2 100644 --- a/blast/tests/dart/rae2822_3D.py +++ b/blast/tests/dart/rae2822_3D.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- 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"); # you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ # @author Paul Dechamps -# @date 2022 +# @date 2023 # Test the blaster 3D implementation. # Tested functionalities; # - Fully turbulent 3D compressible flow. diff --git a/blast/validation/highlift_2D.py b/blast/validation/highlift_2D.py index 09ec1bdae4cb3bd7c5210ef98cdd74abc2e519cf..71003c779cbf0d4b200db46ce03e7a8933f7f8d1 100644 --- a/blast/validation/highlift_2D.py +++ b/blast/validation/highlift_2D.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- 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"); # you may not use this file except in compliance with the License. diff --git a/blast/validation/lann_3D.py b/blast/validation/lann_3D.py index 290502fb0b35c688beec22cf80a2d3e9f65b0bad..f1bd808ac437dbd565fef82eb6c8e12beed818c5 100644 --- a/blast/validation/lann_3D.py +++ b/blast/validation/lann_3D.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- 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"); # you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ # @author Paul Dechamps -# @date 2022 +# @date 2023 # Test the blast implementation on the 3D LANN wing. # Imports. diff --git a/blast/validation/oneraM6_3D.py b/blast/validation/oneraM6_3D.py index 2819db8453f524c5ad621b96cbd99dd8182aef71..8e2924f579ce260d84092da494c3f18177a3fbbc 100644 --- a/blast/validation/oneraM6_3D.py +++ b/blast/validation/oneraM6_3D.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- 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"); # you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ # @author Paul Dechamps -# @date 2022 +# @date 2023 # Test the blast implementation on the 3D ONERA M6 wing. # Imports. diff --git a/blast/validation/rae2822_2D.py b/blast/validation/rae2822_2D.py index 5753d61fb4cd7a1a2d5b12544995373108212b2f..dfc077b11d0811347b61df507d7967c094a551a9 100644 --- a/blast/validation/rae2822_2D.py +++ b/blast/validation/rae2822_2D.py @@ -18,6 +18,10 @@ # @author Paul Dechamps # @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 # Imports.