hystrath / hyStrath

Hypersonic / Rarefied gas dynamics code developments (GPL-3.0)
https://hystrath.github.io/
GNU General Public License v3.0
225 stars 109 forks source link

problem in intialization of Microscale Poiseuille flow case #89

Closed ethrealrishi closed 2 years ago

ethrealrishi commented 3 years ago

Hello Vincent, I along with group partner were trying to simulate the Microscale Poiseuille flow test case which was there in the original dsmcFOAM+ paper. We got the case file from the given reference in the paper. When we ran the case an error "createCellZone command not found" came. We found that createCellZone utility is not there in hyStrath. We want to know whether createCellZone utility is modified in hystrath or it needs to be recreated. If it needs to be recreated can you provide us some hints. This utility was there in the version of openFoam from where I have downloaded the case file. Link for case file

vincentcasseau commented 3 years ago

Hi, As you said, this application is available in OF-2.4.0-MNF (the OF version used for dsmcFOAM+) but is missing here. I'll update the code to make it work in OF-v1706 and keep you updated over the weekend. Thanks, Vincent

vincentcasseau commented 3 years ago

Please pull the latest commit 4cc845d and let me know if it works. If it does, you can close this issue. Thanks.

ethrealrishi commented 3 years ago

Thank you so much. I am very grateful for your quick response. I will let you know as soon as possible.

ethrealrishi commented 3 years ago

Hello Vincent, CreateCellZones utility is working properly. Also, I was successful in adding createFaceZones utility. The Microscale Poiseuille flow case requires use of dsmcBinsMethod and dsmcMassFluxSurface field models in the fieldPropertiesDict. These models are there in this folder. How can I enable these field model in OF-v1706? Thank you very much.

vincentcasseau commented 3 years ago

Hello, These classes have the prefix WIP (Work In Progress - they are outdated) on hyStrath. These files are not included in make/files. You would have to add them back and debug them. I unfortunately don't think I will have time to look into that in the next couple of months.

timteichmann commented 3 years ago

In order to add them back you can remove the WIP_ tag and edit this file: hyStrath/src/lagrangian/dsmc/Make/files. The respective lines are already included but you have to remove the comment. Of course you have to recompile dsmcFoam+ afterwards. As Vincent already pointed out, it is neither guaranteed that this compiles nor that the results are correct because the code has not been adapted to recent changes.