Problem about free energy model
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Problem about free energy model
- This topic has 4 replies, 2 voices, and was last updated 4 years, 2 months ago by KaiLin.
-
AuthorPosts
-
January 26, 2021 at 8:01 am #5454KaiLinParticipant
Hi,
we modified the example case of contactAngle2d and found two problems.
1. When we use xml file to import the positions of nodes, it can be run properly under 20000 nodes. But when the number of nodes is over 20000, the program stop before “Prepare Geometry … OK”. Is there a limit of importing nodes with xml file or the superGeometry is limited? Is there any other way that we can import complex geometry with 2D?
2. When we use free energy model,we set material number 2 with setFreeEnergyWallBoundary, material number 1 with bulkDynamics. We find(The number irepresents material number)
Not converge Converge
1 2 1 1 2 2 1
1 2 1 1 2 2 1
1 2 1 1 2 2 1We set the parameters with contact angele 46 degree.
Fluid can’t wet over the block Fluid can wet over the block
1 1 1 1 1 1 1 1 1
1 2 2 1 1 2 2 2 1
1 2 2 1 1 2 0 2 1
1 1 1 1 1 2 2 2 1
1 1 1 1 1January 26, 2021 at 8:10 am #5455KaiLinParticipantLater part is not shown properly.
Not converge
1 2 1
1 2 1
1 2 1Converge
1 2 2 1
1 2 2 1
1 2 2 1We set the parameters with contact angele 46 degree.
Fluid can’t wet over the block
1 1 1 1
1 2 2 1
1 2 2 1
1 1 1 1Fluid can wet over the block
1 1 1 1 1
1 2 2 2 1
1 2 0 2 1
1 2 2 2 1
1 1 1 1 1Thanks for your kind reply with email yesterday! Finally I can speak at the forum ^_^
Regards,
Kai LinJanuary 26, 2021 at 11:28 am #5456KaiLinParticipantI correct the distribution of material number. Could you please tell me why? Thx!
Not converge
. . .
. . .
2 1 2
2 1 2
2 1 2
2 1 2
2 1 2
2 1 2
. . .
. . .Converge
. . . .
. . . .
2 1 1 2
2 1 1 2
2 1 1 2
2 1 1 2
2 1 1 2
2 1 1 2
. . . .
. . . .January 27, 2021 at 10:47 am #5457mathiasKeymasterYes, that (situation above) are too few fluid nodes.
- This reply was modified 4 years, 2 months ago by mathias.
January 27, 2021 at 11:08 am #5458KaiLinParticipantHi Mathias,
Sorry, I don’t understand what means “too fee fluid nodes”, >_<
We want to build a model of a two-phase flow(liquid and air) in porous media. In porous media the situation of fluid with one layer lattice is usual. So it’s easy to lead no converge.
Not converge
. . .
2 1 2
2 1 2
2 1 2
. . .Does it mean we must make sure there are fluid with at least two layer lattice in whole geometry. Really need the help of your team! Thank you!
Regards,
Kai Lin -
AuthorPosts
- You must be logged in to reply to this topic.