mlm
Forum Replies Created

AuthorPosts

mlmParticipant
Hi Harry,
the result you attached does not look like a slice, it seems to me that you used the clip filter. In case you do not want to have the blocks of the cuboids, it does not matter whether you use clip or slice.
You can use the calculator, compute the magnitude of the velocity by sqrt(physVelocity.physVelocity) and then use the threshold filter for the magnitude. Choose the minimum of the magnitude to be small, e.g. 0.00001. Then you just get the geometry domain.Good luck!
Regards, MariemlmParticipantHello kolotinsky,
you can use the already existing vti reader in src/io/vtiReader.h for your purpose to load the data into your external field:
“The VTI reader is able to read from VTI files and create and fill corresponding data structures. The reading process starts with the construction of the reader object. The name of the data type to be read (e.g. “physVelocity”) is mandatory.”mlmParticipantHello Benjamin,rnrnyou can orientate yourself to the bifurcation example for twophase flow. Depending on which approach you use (EulerEuler or EulerLagrange), choose the appropriate one.rnIf the information to your porous structure is contained in your geometry description (e.g. as stlfile), you can choose the material boundary for that domain.rnIf you want to model the porosity structure with a porous media model, use the PorousD3Q19Descriptor. More information about that you find in the User Guide.rnrnBest regards!
mlmParticipantHello Ivan,rnrnThe SuperGeometry of the problem is the original geometry extended with an overlap of 2. So the cuboid with material number 1 is larger than you assume. Use a visualization software as for exampleparaview (www.paraview.com) and visualize the geometry to see the material numbers.rnIf you do so, you see, material numbers are set correctly for nx = 30. rnThere is no “”fluid flow”” as you call it, because of the physical properties of the problem. There are periodic boundary conditions and therefore depending of the length of nx, the periodicity keeps the solution kind of stationary.rnrn>>> When a 400×200 nodes Lattice is set, what does it mean to have something like “”origin1[0]=2″”? Does it mean this node is two nodes left distant the first one (which I assume is on the left bottom of the lattice)?rnrnThis is because of the overlap (=2) set for the SuperGeometry generation. The given origin for the original CuboidGeometry is (0,0,1).rnrn>> If so, why was used 2 instead of 1 or 0? rnrnThe overlap is 2.rnrn>> And why nx+3 instead of nxorigin (in this example, nx+2)?Why do we need those extra nodes before and after the lattice which don not seem to be part of it?rnrnThe extend is added to the origin, therefore the complete length is nx=4.rnrnI hope I could help you! rnrnmlm

AuthorPosts