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.

How do I only use temperature values of center of mass of mesh element?

Please login with a confirmed email address before reporting spam

I'd like to only use temperature values of the central point in a mesh element. I know that I can use the centroid()-operator for a specific parameter, but how would I be able to change it globally for all parameters?

Thanks in advance


1 Reply Last Post Mar 20, 2020, 11:27 a.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 5 years ago Mar 20, 2020, 11:27 a.m. EDT

The reason I am trying this is that I have a problem with phase change and steep gradients. From this blog "https://www.comsol.de/blogs/introduction-to-numerical-integration-and-gauss-points/" I know that it should somehow be possible, I just can't figure out how.

"Why is this important? In finite element analysis, you may encounter fields that exhibit sharp local gradients. Some examples are problems with phase transformations or at the onset of plasticity in solid mechanics. Integrals that are computed over elements containing these kinds of jumps may have significant discretization errors. Also, the convergence of the solution can be impaired. Small changes in the solution can significantly change computed residuals when individual Gauss points change their states.

In such cases, it may be better to select a lower polynomial order than the default for the shape functions used to discretize the field. The lower resolution can be compensated by using a denser mesh. The effect is that the inevitable jumps will be confined to smaller elements having fewer integration points."

The reason I am trying this is that I have a problem with phase change and steep gradients. From this blog "https://www.comsol.de/blogs/introduction-to-numerical-integration-and-gauss-points/" I know that it should somehow be possible, I just can't figure out how. > "Why is this important? In finite element analysis, you may encounter fields that exhibit sharp local gradients. Some examples are problems with phase transformations or at the onset of plasticity in solid mechanics. Integrals that are computed over elements containing these kinds of jumps may have significant discretization errors. Also, the convergence of the solution can be impaired. Small changes in the solution can significantly change computed residuals when individual Gauss points change their states. > > In such cases, it may be better to select a lower polynomial order than the default for the shape functions used to discretize the field. The lower resolution can be compensated by using a denser mesh. The effect is that the inevitable jumps will be confined to smaller elements having fewer integration points."

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.