01 PFC学习笔记–hellow world

1、创建的ball大小要小于1/4的区域大小

image-20230830164524995

2、ball单元产生的不会进行覆盖,会一直存在

image-20230830164621434

6.0版本解决方法是在前方加一个 model new (5.0版本是new)

model new
domain extent -10 10 -20 20
ball create position 0 0 radius 4

image-20230830165303068

3、调整图像周边的描边和内部的填充颜色

通过侧边栏进行更改

image-20230830165202156

4、及时回到未缩放状态

可以用这块的功能区,也可以使用左右键和鼠标滚轮进行缩放操作

image-20230830170124776

5、在代码中只运行一步run selection

image-20230830171327970

6、注释 ;

image-20230830171444775

7、固定住一步的时间

有可能有一点点的溢出

6.0:

model mechanical timestep fix 5e-1

5.0:
set timestep fix 5e-1

8、保存当前的操作步

6.0:
model save 'name' 
注意英文引号和model

5.0:
sanv name

image-20230830172630776

不同地方保存不同步骤

image-20230830173023568

image-20230830173041569

image-20230830173050350