Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Abrupt change in concentration value

Please login with a confirmed email address before reporting spam

Hello,

I am attempting to model the evaporation of dilute species in an additive manufacturing process. For each added layer of material we have applied a boundary condition at the bottom, concentration C_0, and a boundary condition at the top, surface concentration C_s which is depleted of the dilute species.

We have a problem when adding additional layers due to these boundary conditions. For the first layer we have a concentration gradient from C_0 at the bottom to C_s at the top. However, when adding the next layer the top boundary of layer 1 (C_s) becomes the bottom boundary of layer 2 (C_0). The difference between these two concentration values is quite large.

What is the best way to approach this abrupt change in concentration at the interface between these two layers?

Thank you for any help,
Thom

2 Replies Last Post 20 août 2014, 06:32 UTC−4

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 20 août 2014, 05:08 UTC−4
So basically the concentrations in one layer have nothing to do with the concentrations in the next layer? In that case you could use a new 'transport of diluted species' physics node for every layer. Each phyisics node can have its own boundary conditions that are not related to those in the other physics node.
So basically the concentrations in one layer have nothing to do with the concentrations in the next layer? In that case you could use a new 'transport of diluted species' physics node for every layer. Each phyisics node can have its own boundary conditions that are not related to those in the other physics node.

Please login with a confirmed email address before reporting spam

Posted: 10 years ago 20 août 2014, 06:32 UTC−4
Hello,

I don't have clear how you add material (there are several ways). If you simply change the geometry (by creating another mesh which includes the new layer, and change the new study step to that mesh), I suggest you this:
1. Add the geometry (both boundaries are supposed to match, of course), create a new mesh with the new layer, and assign it a proper name, for instance Mesh2.
2. Set for the new layer the initial condition for concentration that you consider realistic (I suppose the simplest is the linear function between C_0 and C_s).
3. Create a study step in which the common boundary between layers has no boundary condition (nor concentration nor flux): as it is now an inner boundary, COMSOL will set it automatically to continuity (surely this is what you want, right?). I think COMSOL will solve this discontinuity very fast.
4. If necessary, modify the active physics nodes inside the time step, in 'Physics and Variables Selection'. This way you can tell COMSOL which nodes (initial condition, boundary conditions, etc) it has to consider in each step.

Bye.
Hello, I don't have clear how you add material (there are several ways). If you simply change the geometry (by creating another mesh which includes the new layer, and change the new study step to that mesh), I suggest you this: 1. Add the geometry (both boundaries are supposed to match, of course), create a new mesh with the new layer, and assign it a proper name, for instance Mesh2. 2. Set for the new layer the initial condition for concentration that you consider realistic (I suppose the simplest is the linear function between C_0 and C_s). 3. Create a study step in which the common boundary between layers has no boundary condition (nor concentration nor flux): as it is now an inner boundary, COMSOL will set it automatically to continuity (surely this is what you want, right?). I think COMSOL will solve this discontinuity very fast. 4. If necessary, modify the active physics nodes inside the time step, in 'Physics and Variables Selection'. This way you can tell COMSOL which nodes (initial condition, boundary conditions, etc) it has to consider in each step. Bye.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.