~cbc-core/cbc.solve/main

« back to all changes in this revision

Viewing changes to demo/sandbox/fsi/fsi.py

  • Committer: Kristoffer Selim
  • Date: 2009-11-11 13:17:03 UTC
  • Revision ID: selim@simula.no-20091111131703-qmqgkatn68ywsjs5
Move some files around

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# A simple fsi solver
2
 
 
3
 
from cbc.flow import *
4
 
from cbc.twist import *
5
 
from fsi_problems import FluidProblem
6
 
from fsi_problems import StructureProblem
7
 
 
8
 
# Create fluid solver
9
 
fluid_problem = FluidProblem() 
10
 
 
11
 
# Solve fluid problem
12
 
fluid_problem.solve()
13
 
# Edit the Static NS solver!!!!
14
 
 
15
 
# Create structure solver
16
 
structure_problem = StructureProblem()