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.
Curv functions in version 5.1
Posted Sep 21, 2015, 1:21 p.m. EDT Materials, Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.1 0 Replies
Please login with a confirmed email address before reporting spam
d theta_sps/dt = "curv_spatial" *v*theta_sps + additonal terms
where "curve_spatial" should be the COMSOL defined function available on deformed geometries, v is the velocity of the moving boundary (used also on the deformed geometry node) and theta_sps is the coverage fraction of the surface by chemical species sps. I have this ODE implemented in a "Boundary ODEs" node.
If I use the function "curv" all is fine and the time dependent model runs to completion. But my question is, according to the sparse documentation of the "curv" function, it would appear I should be using "curv_spatial" instead:
"If the model includes a deformed mesh, curvature variables are available both for the deformed configuration and for the undeformed configuration. Curvature variables for the deformed configuration (spatial frame) are formed by appending the suffix _spatial to curv (in 2D) or curv1 and curv2 (in 3D). The curvature variables in the undeformed configuration (material frame) are just curv (in 2D) or curv1 and curv2 (in 3D)."
If I use "curv_spatial" (all physics nodes are set to spatial) I get an unknown variable error. Is the documentation wrong, or do I need to do something different to get the current value of "curv" for the spatial frame (deformed)?
Hello Douglas Riemer
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.