Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FastPR][FSI] Rename analysis stage #9410

Merged
merged 1 commit into from
Nov 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion applications/FSIApplication/python_scripts/fsi_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from KratosMultiphysics.analysis_stage import AnalysisStage
from KratosMultiphysics.FSIApplication import python_solvers_wrapper_fsi

class FSIAnalysis(AnalysisStage):
class FsiAnalysis(AnalysisStage):
'''Main script for FSI simulations using the FSI family of python solvers.'''

def Initialize(self):
Expand Down Expand Up @@ -166,6 +166,10 @@ def _GetStructureRestartUtility(self):
model_part,
self.project_parameters["structure_solver_settings"]["restart_settings"])

#TODO: Remove this when the backwards compatibility period is over
class FSIAnalysis(FsiAnalysis):
def __init__(self, model, project_parameters):
Kratos.Logger.PrintWarning("FSIAnalysis", "\'FSIAnalysis\' is deprecated. Use the \'FsiAnalysis\' one instead.")

if __name__ == '__main__':
from sys import argv
Expand Down