本文介绍了在Dymola/Modelica中模拟扩散的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在建模Dymola中的扩散时遇到了问题.我想有两个分开的空间(充满空气),可以将它们连接起来,从而通过扩散进行热交换.我的方法是使用Modelica.Fluid库并将两个ClosedVolumes与Valve连接起来.但据我发现,该库不涉及混淆.

I'm facing a problem with modelling diffusion in Dymola.I want to have two seprate volumes (filled with air), which can be joined and thus exchange heat via diffusion.My approach was using the Modelica.Fluid library and connect two ClosedVolumes with a Valve.But as I found out, this library doesn't regard difussion.

完成这种模型的最佳方法是什么?

What would be the best way to accomplish such a model?

推荐答案

此限制是由于在Modelica.Fluid库中使用了流连接器.

This limitation is due to the use of stream connector in the Modelica.Fluid library.

解决此问题的一种方法是开发一种流体连接器,该流体连接器不依赖于流连接器,而仅依赖于势能和流量变量.不幸的是,在这种情况下,您必须解决自己的数值问题才能解决逆流和零流奇点问题.

One way to solve this is to develop a fluid connector which do not rely on stream connector but only on potential and flow variables. Unfortunately in this case you'll have to solve yourself numerical problems for solving flow reversal and zero-flow singularity.

"一种解决静态热力中零流奇点的物理解决方案中描述了一个示例液压混合模型"在2014年的Modelica会议上发表.基本上,增加扩散有助于解决零流奇异性,并且它们使用正则化阶跃函数来解决逆流问题.其他正则化函数可以在 Modelica.Fluid.Utilities 中找到.

One example is described in the paper "A physical solution for solving the zero-flow singularity in static thermal-hydraulics mixing models" presenting in the Modelica conference 2014. Basically, adding diffusion helps to solve zero-flow singularity and they use a regularized step function to solve flow reversal. Other regularization functions can be found in Modelica.Fluid.Utilities.

希望这项帮助,最好的问候.

Hope this help,Best regards.

这篇关于在Dymola/Modelica中模拟扩散的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 13:17