Hello Marek,
perhabs I am misunderstanding your question, but I would propose to
write a get_velocity function for every class and then you can call this
function from the other class.
Does this help you?
For the grid issue you could define a parent class which only holds the
triangulation and derive the other two classes from it.
Best Regards,
Markus
Am 03.01.11 10:13, schrieb Marek Capek:
Hello,
I have the following problem- i have to compute solution of Navier-Stokes,
make same auxiliary computations with gained velocity and then compute
transport equation for some concentration of chemical species (transport
velocity is from Navier-Stokes). Therefore I have to solve 2 decoupled problems.
Is in dealii some function, which enables transport of solution between the two
problems? Another way, I have coded two classes - one for Navier-Stokes and one
for transport equation, is there some possibility how to code them in a way,
that could enable transition of velocities?
The computation grid could be the same in both problems.
Thank you for You advice
Bye
Marek Čapek
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii