SimWe仿真论坛's Archiver

COMSOL 2008年会圆满结束!

hhwuzhiwei 发表于 2007-12-24 12:43

请问教程中经常出现的S是什么意思?

有些教程中出现边界条件是可变的物理量时 常用一个表达式来表示。而这个表达式中会出现一个变量s   请问这个s是表示时间还是坐标,我不太懂。急求解答

LazyMan 发表于 2007-12-24 13:26

VARIABLE NAME   DESCRIPTIONu ]Mhh M\8y
x y z                              Default space coordinate names, Cartesian coordinates
XZN%\]R4sc r phi z                           Default space coordinate names, cylindrical coordinates
%~YF.mdk u7fm\ xg                                  Space coordinate values of the original geometry+GMN Vn E}~
s                                    Curve parameter in 2D (0 to 1 in direction of the boundary arrow)$x~O ?5Ps/{;ys
s1 s2                             Arc length parameters in 3D _&z n$I.t"u
tx                                   Curve tangent vector, x component (2D)
\G,b'a ^E4`'Iw t1x t2x                           Surface tangent vectors, x component (3D)caf7B U)[%rt
nx                                  Outward unit normal vector, x component
Y:ob8|6B dnx                                Down direction normal vector, x component
i ?A Xoxx P F unx                                Up direction normal vector, x component
.J.FHGd1P h                                    Mesh element diameter:iGb Y?u@pDw
dom                              Domain number;v0{4|K3r
dvol                              Determinant of the Jacobian relating local space coordinate values to the global coordinate values'L^ @]n+N#[

HoJ:VX P3d 参见COMSOL手册,Quick Start

clarkyeah 发表于 2007-12-24 13:58

上次comsol的工程师来的时候我问了,他说s就是femlab定义的一个参数,用来定义变化边界条件函数中做参变量,反正如果你的边界条件是个函数,就直接用s做变量。

methane 发表于 2007-12-24 15:55

s是用于 2D 中的曲线参数,表示边界(edge)的长度范围从0到1;#TO0qF A+U.A.t
经常会用于流体入口速度边界的设置,比如对某一边界的 inlet Velocity的速度项设置为
Ra.~I*S            umax*4*s*(1-s)R0@@ [,a
    那么,它表示入口速度值沿这一边界呈抛物线分布,顶点值为umax,两端点值为0(这可以从上面的一元二次方程形式中看出,方程写成这种形式也是这个原因)。

monnet 发表于 2007-12-28 14:58

在流体计算中,流体入口的两条相邻的边通常会设置为no slip,即管壁处流速为零,而入口处设置一个速度。那么在入口和相邻两边的交界点上就会存在一个速度突变。此时通过一个表达式s*(1-s)可以将流体入口速度以抛物线的形式,使得这交界点处的流速实现平滑过渡,也很符合实际情况,对于流体计算,能够很好的改善收敛性。

高贵的点点滴滴 发表于 2008-6-29 12:29

[b]2D的谁都知道[/b],可是[size=5][color=red]3D中的s1,s2[/color][/size]呢?[size=5][color=blue]3D中的[/color][color=blue]arc length是什么意思?[/color][/size]ckQE&yl`N"Cz
DJ'N k e b&v:r1i
[[i] 本帖最后由 高贵的点点滴滴 于 2008-6-29 12:31 编辑 [/i]]

kinggun 发表于 2008-6-30 13:44

The surface-boundary parameterization variables are useful for defining distributed loads and constraints such as a parabolic velocity profile. The available parameterization variables are:
/q$m;b!HSb •The curve parameter s in 2D. It is equivalent to the Bézier curve parameter, and it runs from 0 to 1 in the direction indicated by the arrows shown on the boundaries in boundary selection mode. You can use s on boundaries when specifying boundary conditions.s3^)TgX8M Z c+b
•The arc length parameters s1 and s2 in 3D are available on edges and are approximately equivalent to the arc length. In many cases they can be difficult to use because the relationship between x, y, and z (the space coordinates) and s1 and s2 is nonlinear. It is straightforward to use s1 and s2 in cases where a face is equivalent to an untrimmed patch, that is, a face that has no parts cut away. Often it is more convenient to use expressions with x, y, and z for specifying distributed boundary conditions. To see the values of s1 and s2, plot them using a surface or line plot.

kinggun 发表于 2008-6-30 13:48

我想,这个s1和s2类似于一种面内的坐标体系,基本上可以由右手定则确定方向。

高贵的点点滴滴 发表于 2008-6-30 14:09

[quote]原帖由 [i]kinggun[/i] 于 2008-6-30 13:48 发表 [url=http://www.simwe.com/forum/redirect.php?goto=findpost&pid=1370884&ptid=813305][img]http://www.simwe.com/forum/images/common/back.gif[/img][/url]2h} {6FJ E
我想,这个s1和s2类似于一种面内的坐标体系,基本上可以由右手定则确定方向。 [/quote]pFMuGM)O+i
N:O/F6VOW~:|4j
而且,(t1x,t1y,t1z)与(t2x,t2y,t2z)都是和这个s1,s2有关的。[b]希望版主能把这个帖子 [color=red]高亮+置顶[/color] 。[/b]+{+dc uL \X

9}Oh Jg6E8K CI7TCS 既然讨论了,就希望有个结果,不然以后就没什么积极性了。
B:q/WeZ"d!GP} +gE.Q6D\z&o
谢谢!

页: [1]
 

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.