testheatp1.geo

来自「OpenFVM-v1.1 open source cfd code」· GEO 代码 · 共 47 行

GEO
47
字号
lc = 0.5;dx = 0.05;dy = 0.05;dz = 1.0;nz = 5;Point(1) = {0.0,0.0,0.0,lc};Point(2) = {dx,0.0,0.0,lc};Point(3) = {dx,dy,0.0,lc};Point(4) = {0.0,dy,0.0,lc};Line(1) = {1,2};Line(2) = {2,3};Line(3) = {3,4};Line(4) = {4,1};Line Loop(5) = {1,2,3,4};Plane Surface(6) = {5};Transfinite Surface {6} = {1,4,3,2};Recombine Surface {6};out[] = Extrude {0,0,dz} { Surface{6}; Layers { nz }; Recombine; };// Hot surfacePhysical Surface(30) = {6};// Side wallsPhysical Surface(31) = {15,19,23,27};// Cold surfacePhysical Surface(32) = {28};// Box volumePhysical Volume (35) = {out[1]};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?