"WARNING: no discreteNormal is found " in the free energy model
› Forums › OpenLB › General Topics › "WARNING: no discreteNormal is found " in the free energy model
- This topic has 8 replies, 3 voices, and was last updated 6 years, 1 month ago by zshi6193.
-
AuthorPosts
-
September 21, 2019 at 8:01 am #4547zshi6193Participant
Dear OpenLB,
When I use the free energy model to simulate the multiphase flow, I get the following error:
“WARNING: no discreteNormal is found”.
I find this error is from the below codes:
sOnBC1.addFreeEnergyWallBoundary( superGeometry, 2, alpha, kappa1, kappa2, h1, h2, 1 );
sOnBC2.addFreeEnergyWallBoundary( superGeometry, 2, alpha, kappa1, kappa2, h1, h2, 2 );My simulation domain includes many sphere particles and some of particles are not completely inside the the boundary. That is, only part of sphere is inside the boundary. I think this is the reason for that error. Could someone can help me to solve it?
Many thanks
Best regards,
Simon.September 21, 2019 at 10:24 pm #4548savisParticipantDear Simon,
I believe that this is because of boundary nodes that aren’t beside any inner fluid nodes. You should hopefully be able to resolve this simply using “superGeometry.clean();” after the material numbers are assigned.
Best wishes,
SamSeptember 23, 2019 at 8:13 am #4550zshi6193ParticipantDear Sam,
Thanks for your reply. I try to use “superGeometry.clean” and superGeometry.innerClean”. The same error comes out. But in fact, it seems this error doesn’t affect the results.
Thanks
Best regards,
Simon.September 23, 2019 at 9:19 am #4554mathiasKeymasterDear Simon,
can you upload a schreenshot of your geometry?
Best
MathiasSeptember 23, 2019 at 6:27 pm #4560zshi6193ParticipantSeptember 23, 2019 at 6:34 pm #4564September 23, 2019 at 6:46 pm #4566zshi6193ParticipantDear Mathias,
Sorry I have difficulty in uploading the image.
Here are the dropbox links of of my geometry. Thanks for your time. The highlight is the another boundary problem when two particles are close to each other. The multiphase model that I used is the free energy one.
Thanks for your help.Best regards,
Simon.
https://www.dropbox.com/s/cjftfooi4i85qbn/1.PNG?dl=0
https://www.dropbox.com/s/k6k4v8csgskjmrr/2.PNG?dl=0- This reply was modified 6 years, 1 month ago by zshi6193.
September 24, 2019 at 9:09 am #4569mathiasKeymasterDear Simon,
can you check how many voxel are between the spheres? It should be at least two. By refining the mesh it should be ok.
Best
MathiasSeptember 25, 2019 at 3:28 pm #4572zshi6193ParticipantDear Dr Mathias,
Thanks for your reply and suggestion. After I increase the mesh size, the problems are partly solved.
Best regards,
Simon -
AuthorPosts
- You must be logged in to reply to this topic.


