-
Notifications
You must be signed in to change notification settings - Fork 0
Enhancements for contactAngle BC treatment #76
Comments
Hi Kai, I tried to test the new release with my example that is about a bubble floating through a channel driven by a pressure gradient (see attached below. Again I had to change the file extension from py to txt for uploading purposes). However, it failed! The error message for the IO wrapper is:
Same for the internal wrapper, but with a different error message: By the way, also the dahl(_rel_vel) examples crashed in my case for both IO and internal, which is true also for the master branch! Can you please check that as well. Just to make sure that it is not due to my installation. |
Hi Tobias, wrapper did not had flowRate BC implemented. I added that and pushed changes to branch. I'll look at that dahl example later. It might be something to do with the fixedFluxPressure BC... |
OK, thanks! I'll check the changes on Monday since I'm off now for the weekend already. |
Oh, you are right! I additionally added the flowRate BC to get my example running. Thanks a lot for adding it to the new repository version! So, the error message was due to this extra change from my side. |
In order to deal with contact angle boundary conditions in the OpenFoam wrapper (necessary for task 5.4), I propose to add two points to the code:
Setting maxCo in the user script and map it to controlDict in foam_dicts.py can be done similar to CUBA.TIME_STEP etc. But for this CUBA.MAX_CO must first be included in the cuba list, of course.
to the volumeFractionBCs block of modify_fields in foam_dicts.py allows the user to apply contact angle BCs at the walls by setting e.g.
The naming "wetting angle" can be adapted and was just my choice for testing.
The text was updated successfully, but these errors were encountered: