Вы находитесь на странице: 1из 11

In this problem you will learn very basics of Comsol usage: how to create a model core and further populate it with model geometry and equations to be solved. You will see how important to chose right mesh and eventually you will also see how species diffuse on 1D domain.

First step is to create a core of the model, which include dimension of the model (1, 2 or 3D), type of equation to be solved as well as type of problem e.g. steady state or time dependent. To select 1 dimensional model. This allow to solve PDE of reaction-diffusion type. This allow to solve time dependent problem.

Second step is to enter parameters and their numerical values. It is a good practice in programming and modeling to use constants with assigned numerical values instead of entering directly numbers.

 3. Diffusion coefficient. 4. Domain length. 5. Concentration of morphogen at the boundary. 6. Type in Name: k0, Expression: 1E-8 [mol/(s*m^2)]. Morphogen flux at the boundary.

Third step is to specify domain on which equations should be solved.

Fourth step is to enter differential equations, boundary and initial conditions.

2. In this case model has no reactions, only diffusion.

Fifth step is to mesh computational domain. Selection of the right mesh is extremely important if mesh is crude solution can easily might become inaccurate or wrong, however selection of very fine mesh results in long computational times and increased memory use.

If you typed everything right you should see following figure in Graphics section.

To select 1 dimensional model.
This allow to solve PDE of reaction-diffusion type.
This allow to solve time
dependent problem.

 3. Diffusion coefficient. Domain length. Simulation time.

To select 2 dimensional model.
This allows to solve PDE of reaction-diffusion type.
This allows to solve
time dependent problem.

 a. iffusion coefficient. Domain length. Domain width. Simulation time.

a.

b.

c. .

a.

b.

c. .

a.

b.

c. .