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.
Variable density of ice
Posted Mar 3, 2011, 12:23 p.m. EST Version 3.5a 3 Replies
Please login with a confirmed email address before reporting spam
Hi,
I have a simple block model that has dimensions of 270 meters thick by 2000 meters long. the two end boundaries are outlet, no viscous stress, the base is no slip, and the surface is stress normal force. I am trying to simulate ice flow of a material to the left and right using weakly compressible navier stokes for basic physics. The catch is, I have about 80+ meters of variable density material over the remaining 190 meters which is a constant maximum density. The analog is snow and firn resting over ice, similar to a glacier where the snow and firn increases in density with depth, until it reaches the density of ice, during which the ice is no longer compressible and hence it reaches a maximum and constant density. This requires me to set up variable density until I reach the density of ice, and then maintain a constant density with depth for the remaining depth of my block model. I have an equation that defines density with respect to depth:
density (kg/m^3) = 343.17*depth (m)^0.2199
This equation is valid until a density of 917 kg/m^3 where at, the rest of the depth of my model remains that density.
1. How can I incorporate this variable density into my block model?
I am trying to incorporate this by: options --> expressions --> subdomain expressions --> however, Im trying to figure out exactly what to type based on the equation above.
2. To account for the change from an expression to a constant density value, I have been told to try boolean expressions such as if(Density <= 917, 343.17*depth^.2199, 917). Note that I have changed the geometry terms to have X representing "distance" and y representing "depth"
I am very new to COMSOL so any help is appreciated.
Thanks
I have a simple block model that has dimensions of 270 meters thick by 2000 meters long. the two end boundaries are outlet, no viscous stress, the base is no slip, and the surface is stress normal force. I am trying to simulate ice flow of a material to the left and right using weakly compressible navier stokes for basic physics. The catch is, I have about 80+ meters of variable density material over the remaining 190 meters which is a constant maximum density. The analog is snow and firn resting over ice, similar to a glacier where the snow and firn increases in density with depth, until it reaches the density of ice, during which the ice is no longer compressible and hence it reaches a maximum and constant density. This requires me to set up variable density until I reach the density of ice, and then maintain a constant density with depth for the remaining depth of my block model. I have an equation that defines density with respect to depth:
density (kg/m^3) = 343.17*depth (m)^0.2199
This equation is valid until a density of 917 kg/m^3 where at, the rest of the depth of my model remains that density.
1. How can I incorporate this variable density into my block model?
I am trying to incorporate this by: options --> expressions --> subdomain expressions --> however, Im trying to figure out exactly what to type based on the equation above.
2. To account for the change from an expression to a constant density value, I have been told to try boolean expressions such as if(Density <= 917, 343.17*depth^.2199, 917). Note that I have changed the geometry terms to have X representing "distance" and y representing "depth"
I am very new to COMSOL so any help is appreciated.
Thanks
3 Replies Last Post Mar 15, 2011, 7:34 p.m. EDT