使用MPPICFoam计算时,颗粒初始位置此文件如何建立?
-
@李梦瑶 Goldschimidt 算例里面, constant/kinematicCloudPositions,里面你能看一行一行的括号,里面有三个数字,就是每个颗粒的坐标,把这堆东西都删掉,换成你自己需要的就可以了。当然,40万颗粒的话,找个别的语言, Julia/Python/Matlab等来写个小代码生成、输出一个颗粒的位置信息的文本比较好。
-
@hurricane007 好的,谢谢您!
-
-
@李梦瑶 话说你最后有没有搞定这个cellZoneInjection啊,能不能给个模板啊
-
@hurricane007 很遗憾没有 还是用的手动入射模型
-
-
model1 { type cellZoneInjection; //for injection at the patch SOI 14.15; // Start time of injection parcelBasisType fixed;// parcel basis enumeration //patch top; cellZone insandZone; //duration 100; nParticle 1; // number of particle per parcel numberDensity 5e7;//numberDensity multiplied by cellZoneVolume gives the number of particles to be injected U0 (0 0 0); sizeDistribution { type normal; normalDistribution { expectation 5e-4; variance 1.25e-4; minValue 2e-4; maxValue 8e-4; } } }
你可以用这个,是可以的。
-
@zhe 好久没来了才看到回复,感谢!!
2020年12月23日 07:58
11/13
2021年12月10日 15:37