Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.5K Views
|
8 Replies
|
6 Total Likes
View groups...
Share
Share this post:
GROUPS:

System Modeler Free Body Diagram Solving Capability

I am wondering if System Modeler can be used to solve free body diagram problems. This would be very powerful for statics classes. I have looked for a free body diagram diagram creator and I have yet to find a software that will solve for force and torque. I am also wondering how to create a mass of water of 1 kg with a specific temperature of 90Celsius in System Modeler.

POSTED BY: Peter Burbery
8 Replies
POSTED BY: Peter Burbery
POSTED BY: Sergio Vargas

Using Wolfram Alpha online you can find the isochoric molar heat capacity of carbon dioxide with

https://www.wolframalpha.com/input?i=isochoric+heat+capacity+of+carbon+dioxide

If you have Mathematica installed with a matching version to your System Modeler, you can make a copy of the electric kettle model and change in it the parameter value associated to the heat capacity with

SystemModel["IndustryExamples.ConsumerProducts.ElectricKettle.
ElectricKettleControl", <|"ModelName" -> "KettleWithCO2", 
  "ParameterValues" -> {"Water.C" -> heatCapacityCO2}|>]

Here we can estimate heatCapacityCO2 with the help of Wolfram Alpha, which in Mathematica can be called with WoframAlpha. The kettle becomes a bit unrealistic when using carbon dioxide but let's say that we just take the volume of water and replace it with CO2. Since the model uses 1.7 Kg of water, we would have then

massH20 = Quantity[1.7, "Kilograms"];
densityCO2 = 
  WolframAlpha[
   "density of carbon dioxide", {{"Result", 1}, "QuantityData"}];
densityH2O = 
  WolframAlpha["density of water", {{"Result", 1}, "QuantityData"}];
massCO2 = massH20*densityCO2/densityH2O;

Now let's get an estimate of the specific heat capacity of the carbon dioxide at constant volume. For simplicity, let's assume our kettle has gas-proof sealing and tolerates the pressures of heated CO2. In practice, the specific heat will change with the temperature, so this model can be made more accurate by swapping this parameter with a time-changing value. But for now, let's just use the isochoric molar heat capacity from Wolfram Alpha and the molar mass:

isochoricMolarHeatCO2 = 
 WolframAlpha[
  "isochoric heat capacity of carbon dioxide", {{"Result", 1}, 
   "QuantityData"}];
molarMassCO2 = 
 WolframAlpha[
  "molar mass of carbon dioxide", {{"Result", 1}, "QuantityData"}];
specificHeatCapacityCO2 = isochoricMolarHeatCO2/molarMassCO2;
heatCapacityCO2 = QuantityMagnitude[massCO2 specificHeatCapacityCO2]

This finally gives us heatCapacityCO2 = 2.04892. This is the value that we can then use in the SystemModel call. Alternatively, you can just plug this value in the Water.C parameter in System Modeler.

POSTED BY: Sergio Vargas

You can probably use Wolfram|Alpha or browse the web to get the property of a substance. Using the Media library can provide you with some information, but it is a bit advanced.

POSTED BY: Ankit Naik
POSTED BY: Peter Burbery
POSTED BY: Ankit Naik

The parameters for heat capacity in J/kg are not displaying for the example Electric Kettle model copmonents.

POSTED BY: Peter Burbery

Modeling water:

If you want to model heat loss to the ambient. You can use a Heat Capacitor component. You can check the electric kettle example for reference.

Free body diagram:

You can calculate forces and torques for 1D translation and rotational systems, using the built-in libraries, for instance Oscillator and Coupled Clutches. You can also use the free PlanarMechanics library to model 2D systems.

POSTED BY: Ankit Naik
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard