⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dotest

📁 FreeFem++可以生成高质量的有限元网格。可以用于流体力学
💻
字号:
rm -f *[0s].meshg=quad=if [ "$1" = "-g" ] ;then g=-g;shift; fiif [ "$1" = "-q" ] ;then quad="-2q -coef 2 -thetaquad 10" ;shift; fiif [ "$1" = "-g" ] ;then g=-g;shift; fiif [ -z "$bamg" -o ! -x "$bamg" ] ;then bamg=../../bamg$g; fiecho " to close the graphic enter f on graphic window until they exist "echo "Mesh  square " echo ${bamg} -g  square_g.mesh -o square_0.mesh $quad${bamg} -g  square_g.mesh -o square_0.mesh $quadif [  $? -ne 0 -o ! -s square_0.mesh ] ; then echo "the file square_0.mesh  is empty or d'ont exist";exit 1 ; fiecho ${bamg} -g  square_g.mesh -o square_0.mesh $quad${bamg} -splitpbedge  -g  square_g.mesh -o square_s.mesh  $quadif [  $? -ne 0 -o ! -s square_0.mesh ] ; then echo "the file square_s.mesh  is empty or d'ont exist";exit 1 ; fiecho "Mesh  circle  " ${bamg} -g  circle_g.mesh -o circle_0.mesh $quadif [ $? -ne 0 -o  ! -s circle_0.mesh ] ; then echo "the file circle_0.mesh  is empty or d'ont exist";exit 1 ; fiecho "Mesh  a octogone  " ${bamg} -g  octogone_g.mesh -o octogone_0.mesh $quadif [ ! -s octogone_0.mesh ] ; then echo "the file octogone_0.mesh  is empty or d'ont exist";exit 1 ; fiecho "Mesh  a  square with raff  " ${bamg} -g  square_raf_g.mesh -o square_raf_0.mesh $quadif [ $? -ne 0 -o ! -s  square_raf_0.mesh ] ; then echo "the file  square_raf_0.mesh  is empty or d'ont exist";exit 1 ; fiecho "Mesh  a  square with raff  split pb edge" ${bamg} -splitpbedge -g  square_raf_g.mesh -o square_raf_s.mesh $quadif [ $? -ne 0 -o ! -s  square_raf_0.mesh ] ; then echo "the file  square_raf_0.mesh  is empty or d'ont exist";exit 1 ; fiecho "Mesh  a  square with anisotropique mesh  " ${bamg} -g  square_raf_g.mesh -o square_raf_ani_0.mesh -M square_raf_ani_g.mtr $quadif [ $? -ne 0 -o ! -s  square_raf_ani_0.mesh ] ; then echo "the file  square_raf_ani_0.mesh  is empty or d'ont exist";exit 1 ; fiecho "Mesh  a  square with anisotropique mesh with -splitpbedge " ${bamg} -splitpbedge -g  square_raf_g.mesh -o square_raf_ani_s.mesh -M square_raf_ani_g.mtr $quadif [ $? -ne 0 -o ! -s  square_raf_ani_s.mesh ] ; then echo "the file  square_raf_ani_s.mesh  is empty or d'ont exist";exit 1 ; fi${bamg} -splitpbedge -g  l_g.mesh -o l_0.mesh  $quadif [ $? -ne 0 -o ! -s  l_0.mesh ] ; then echo "the file   l_0.mesh  is empty or d'ont exist";exit 1 ; fi

⌨️ 快捷键说明

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