Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 apr 2012, 08:02 GMT-4
Hi
interesting question, but when I look at COMSOL my dependent variable i.e. "p" I could expect from "classical" FEM theory to be defined on nodes, is influenced by the model dependent variable discretization function and power used, AS WELL as from the postprocessing rendering averaging used. So for me the "densities" you mostly get as outcome are already averaged and meaned over the respective mesh volumes, mesh element nodes and "discretisation nodes"
But agree I havnt really found this clearly written ou in the doct, I would need to go through a simple example from one of my older FEM books and compare the results with COMSOL, something I havent really done so far, as the global results so far have always agreed, or been far more precise ;)
--
Good luck
Ivar
Hi
interesting question, but when I look at COMSOL my dependent variable i.e. "p" I could expect from "classical" FEM theory to be defined on nodes, is influenced by the model dependent variable discretization function and power used, AS WELL as from the postprocessing rendering averaging used. So for me the "densities" you mostly get as outcome are already averaged and meaned over the respective mesh volumes, mesh element nodes and "discretisation nodes"
But agree I havnt really found this clearly written ou in the doct, I would need to go through a simple example from one of my older FEM books and compare the results with COMSOL, something I havent really done so far, as the global results so far have always agreed, or been far more precise ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 apr 2012, 08:38 GMT-4
Hello Ivar,
thank you for your quick answer.
You seem to suggest that the node results from the FEM calculation are already averaged values.
If so, I don't understand very well the point.
Nevertheless, my main concern is to get the mass variation of fluid as a spatial distribution, kind of matrix.
Let us assume that you get approximate point values of the true solution. Then, let's take an element, for instance a triangle. Over this element of the mesh, you would have a polynomial approximation of the solution depending on the degree of the finite element (for instance, a quadratic approximation). You could use this to calculate the fluxes THROUGH each of the element edges (the three segments of the triangle) and then calculate, by difference the NET FLUX which is the amount of fluid that "dissapeared".
My question is if it is possible to calculate this automatically with COMSOL. I mean, if i can have access to a matrix with these values.
Best regards
Adriana
Hello Ivar,
thank you for your quick answer.
You seem to suggest that the node results from the FEM calculation are already averaged values.
If so, I don't understand very well the point.
Nevertheless, my main concern is to get the mass variation of fluid as a spatial distribution, kind of matrix.
Let us assume that you get approximate point values of the true solution. Then, let's take an element, for instance a triangle. Over this element of the mesh, you would have a polynomial approximation of the solution depending on the degree of the finite element (for instance, a quadratic approximation). You could use this to calculate the fluxes THROUGH each of the element edges (the three segments of the triangle) and then calculate, by difference the NET FLUX which is the amount of fluid that "dissapeared".
My question is if it is possible to calculate this automatically with COMSOL. I mean, if i can have access to a matrix with these values.
Best regards
Adriana
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 apr 2012, 13:06 GMT-4
Hi
that is what I understand COMSOL is doing anyhow, the only thing is that you do not access the mesh elements as such but the geometric entities (domains, boundaries ...) and you get the the resulting dependent variables displayed such that globally they map your domains and boundaries, to solve the underlaying equations.
Now what I do not fully understand is what you are searching by "mass variations" of your fluid. COMEOL obeys the physicsals laws it's based on, including mass conservation, ...
--
Good luck
Ivar
Hi
that is what I understand COMSOL is doing anyhow, the only thing is that you do not access the mesh elements as such but the geometric entities (domains, boundaries ...) and you get the the resulting dependent variables displayed such that globally they map your domains and boundaries, to solve the underlaying equations.
Now what I do not fully understand is what you are searching by "mass variations" of your fluid. COMEOL obeys the physicsals laws it's based on, including mass conservation, ...
--
Good luck
Ivar