[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: [ff3d-users] How to define a moving boundary?

**From**: |
Stephane Del Pino |

**Subject**: |
Re: [ff3d-users] How to define a moving boundary? |

**Date**: |
Tue, 6 Nov 2007 23:52:14 +0100 |

**User-agent**: |
KMail/1.9.7 |

Dear Hao,
Le lundi 5 novembre 2007, Hao a écrit :
>* Hi Stephane,*
>
>* I have some problems with ff3d.*
>
>* 1. Is it possible to solve a one dimension problem with ff3d? how to define*
>* a, b, and n?*
>* such as a consolidation problem, du/dt=Cv d(du/dz)/dz*
Yes, you just need to define only one layer of cells in x and y for instance:
--------------
vector n = (2,2,10);
vector a = (0,0,0);
vector b = (1,1,2);
mesh m = structured(n,a,b);
--------------
>* 2.Is it possible to solve a moving boundary problem?*
>* such as a(0,0,0), b(10,10,z), where z is changing with time.*
Yes.
>* 3.Is it possible to solve the problem 2 in the following way?*
>
>* for(int t=0; t<360; t++){*
>* zz1=aplha*t*
>* a(0,0,0)*
>* b(0,0,zz1)*
>* n=(0,0,zz2)*
>* ...*
>* }*
Again, yes.
Best regards,
Stéphane.