Ejemplo n.º 1
0
def main():
    import cupydo.interfaces.Cupydo as cupy
    p = getFsiP()  # get parameters
    cupydo = cupy.CUPyDO(p)  # create fsi driver
    cupydo.run()  # run fsi process
    test(cupydo.algorithm.errValue, p['tol'])  # check the results

    # eof
    print ''
Ejemplo n.º 2
0
def main():
    import cupydo.interfaces.Cupydo as cupy
    import staticAgard_fluid
    p = getFsiP()  # get parameters
    cupydo = cupy.CUPyDO(p)  # create fsi driver
    cupydo.run()  # run fsi process
    cupydo.algorithm.FluidSolver.coreSolver.save()
    test(cupydo, p['tol'])  # check the results

    # eof
    print('')
Ejemplo n.º 3
0
def main():
    direct_case = "../../tests/SU2_SU2/Cantilever_fsi.py"
    exec(open(direct_case, 'r', encoding='utf8').read(),
         globals())  # Run direct
    import cupydo.interfaces.Cupydo as cupy
    p = getAdjP()  # get parameters
    cupydo = cupy.CUPyDO(p)  # create fsi driver
    cupydo.run()  # run fsi process
    test_adj(cupydo.algorithm.errValue, p['tol'])  # check the results

    # eof
    print('')
Ejemplo n.º 4
0
def main():

    param = getFsiP()
    cupydo = cupy.CUPyDO(param)
    cupydo.run()