Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Buuilding a model to describe the uptake of hydrogen in sodium alanate.

Please login with a confirmed email address before reporting spam

I am trying to model a material using a simple geometry (donut with cooling on the exterior and hydrogen delivered at the interior). This model will couple conservation of mass, momentum, energy and chemical kinetics in one shot. But the form of the equations don't seem to mesh with the selectable physics in the menu. Attached is a document that addresses the physics used in COMSOL previously as I am trying to verify results, but I am struggling to put the equations into the program. The relevant pages in the pdf file are 24-35 under model description. Does this mean I need to use the pde option using the common form and just add in the equations? Specific equations that need to be added are 4.4.1-1, 4.4.1-3, 4.4.3-1, 4.4.5-3a, 4.4.5-3b, 4.4.5-5 and table 4.4.5-1.

Afterwards are 4 pages of inputs presented for use in the program and shown in one text (.txt) file annotated for clarity and brevity.

The two biggest questions besides the best way to add in the equations are:

How do I put in a cubic spline fit for the data in table 4.4.5-1?

How do I handle the pressure terms in 4.4.3-1, namely adding their physics into the program?


3 Replies Last Post 2 août 2012, 08:38 UTC−4

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 29 juin 2012, 17:43 UTC−4
Attached is my model as it stands, I used piecewise functions to describe the reaction kinetics, but the physics models don't seem to like my choice of non-dimensional concentration and temperature in the model.
Attached is my model as it stands, I used piecewise functions to describe the reaction kinetics, but the physics models don't seem to like my choice of non-dimensional concentration and temperature in the model.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 4 juil. 2012, 14:42 UTC−4
I can't open your COMSOL files correctly.
I can't open your COMSOL files correctly.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 2 août 2012, 08:38 UTC−4

Attached is my model as it stands, I used piecewise functions to describe the reaction kinetics, but the physics models don't seem to like my choice of non-dimensional concentration and temperature in the model.


I tried to run your model "hydride.mph" but it goes in error: "There are cyclic dependencies - variable name: epsilon error in multiphysics compilation - error in automatic sequence generation"
Did you still further develop the model?

Thanks
[QUOTE] Attached is my model as it stands, I used piecewise functions to describe the reaction kinetics, but the physics models don't seem to like my choice of non-dimensional concentration and temperature in the model. [/QUOTE] I tried to run your model "hydride.mph" but it goes in error: "There are cyclic dependencies - variable name: epsilon error in multiphysics compilation - error in automatic sequence generation" Did you still further develop the model? Thanks

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.