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

[CoSim] Adding a strong block solver and block MVQN acceleration #11780

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0035151
Adding a strong block solver and block MVQN acceleration
azzeddinetiba Nov 8, 2023
56661fd
Block Accelerator - Defaulting to the first solver in the sequence
azzeddinetiba Nov 9, 2023
3bd46ec
Remove unnecessary import
azzeddinetiba Nov 11, 2023
683b5b5
Conditioning parameter in the pseudoinverse - blockMvqn
azzeddinetiba Nov 11, 2023
86d56ca
simpler python dict indexing
azzeddinetiba Nov 14, 2023
a03f195
Renaming blockMvqn to block_mvqn
azzeddinetiba Nov 14, 2023
d6ff62e
Adding the IBQNLS convergence accelerator
azzeddinetiba Nov 14, 2023
530faf5
Minor comments
azzeddinetiba Nov 14, 2023
4dcc59b
Considering case where only 1 subiteration is performed
azzeddinetiba Nov 15, 2023
f4bb27f
Pythonize variable names and simplify distinction btwn ConvergenceAcc…
azzeddinetiba Dec 19, 2023
8d6fbfe
Allow block accelerators of acting on fields not necessarily those mo…
azzeddinetiba Dec 19, 2023
4f3576d
Rename IBQNLS Accelerator class
azzeddinetiba Dec 19, 2023
737c4ef
Rename IBQNLS accelerator file
azzeddinetiba Dec 19, 2023
80391b5
Rename block solver class
azzeddinetiba Dec 19, 2023
29bcf5f
Rename block solver file
azzeddinetiba Dec 19, 2023
4b247e6
Rename the block coupled solver
azzeddinetiba Dec 21, 2023
16bb51c
Rename the block coupled solver file
azzeddinetiba Dec 21, 2023
cd248bf
f-strings for the Exception
azzeddinetiba Dec 21, 2023
9c29bf8
Fix initialization if distributed
azzeddinetiba Dec 21, 2023
4107083
Add tests for block convergence accelerators
azzeddinetiba Dec 22, 2023
d299742
More appropriate handling of data matrices in IBQNLS
azzeddinetiba Jan 3, 2024
1b0273d
Restore accidentally deleted tests
azzeddinetiba Jan 3, 2024
372b3e9
Consider case where only 1 iteration is performed in the first time s…
azzeddinetiba Jan 4, 2024
b5c7671
Rename BlockIterative to Block
azzeddinetiba Jan 5, 2024
6dd8486
Rename block coupled solver file name
azzeddinetiba Jan 5, 2024
823b4d7
Rename block solver in test
azzeddinetiba Jan 5, 2024
9be7dc6
Remove comment
azzeddinetiba Jan 5, 2024
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
azzeddinetiba marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
import KratosMultiphysics.CoSimulationApplication.colors as colors

def Create(settings, models, solver_name):
return BlockGaussSeidelStrongCoupledSolver(settings, models, solver_name)
return BlockIterativeStrongCoupledSolver(settings, models, solver_name)

class BlockGaussSeidelStrongCoupledSolver(GaussSeidelStrongCoupledSolver):
class BlockIterativeStrongCoupledSolver(GaussSeidelStrongCoupledSolver):
def SolveSolutionStep(self):
for k in range(self.num_coupling_iterations):
self.process_info[KratosCoSim.COUPLING_ITERATION_NUMBER] += 1
Expand Down