I have recently been studying fluid problems. Both svSolver and svFSI can be used in fluid problems. svFSI is more standardized in code writing, more widely used and maintained, which has attracted my attention. Consequently, I wanted to compare the results of svSolver and svFSI in terms of speed and periodicity in fluid problems.
Under the same conditions, including the same grid, step size, number of cores, and boundary conditions, using the default solving method, svSolver and svFSI have shown consistent results in the first two cycles, with good periodicity. However, in terms of solving speed, svSolver took approximately 45 minutes for the first cycle and 25 minutes for the second, while svFSI took around 6 hours for both the first and second cycles, indicating a significant difference in speed.
I'm curious if the two sets of codes handle fluid problems in the same way. Can using Trilinos significantly accelerate the solving speed of svFSI?
Code: Select all
# Part of svFSI.inp
# Equations
Add equation: fluid {
Coupled: 1
Min iterations: 3
Max iterations: 10
Tolerance: 1e-3
Backflow stabilization coefficient: 0.2
Density: 1.06
Viscosity: Constant {Value: 0.04}
Output: Spatial {
Velocity: t
Pressure: t
Traction: t
WSS: t
}
LS type: NS
{
Max iterations: 10
NS-GM max iterations: 3
NS-CG max iterations: 500
Tolerance: 1D-3
NS-GM tolerance: 1D-3
NS-CG tolerance: 1D-3
Krylov space dimension: 50
}
Li Xia