GithubHelp home page GithubHelp logo

Comments (13)

je-santos avatar je-santos commented on August 20, 2024 2

That is interesting. Could you check the resulting fluid configurations and check if there's anything weird going on?
Visualizing them with paraview is probably the easiest way.

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

i use synthetic 3D single fracture as my Geometry. I already check the geometry input in the output file (tmp), from the vtkgeometry.vti 2_phase_sim, the geometry is correct and there is nothing strange. But when calculating the relative, the geometry becomes strange, seen from PorousMedium.vti in the "relperm/4relperm" folder. I assume there was an error while forming the geometry for running relative permeability. But i still don't have any clue where and how to fix it. Thank you
image

from mplbm-ut.

je-santos avatar je-santos commented on August 20, 2024

Can you plot density ?

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

i try to visualize the density from The rho_f1_000_iteration.vti in each domain. Here's the result between domain 1 and the last domain , there's no siginificant differences only the red color getting bold and more obvious. My geometry has 11 domain and all the simulation 2_phase are converge at the same iteration, 4000, only domain 8 and 9 at iteration 5000. Could that be the cause of the problem I'm having?

image
image

from mplbm-ut.

je-santos avatar je-santos commented on August 20, 2024

That looks wrong. It seems that all the domain is saturated.

I just re-read your initial question. The density parameter should not be changed. The prescribed density is for numerical stability, and it's not representative of the fluid properties.

The density does not play a role in viscous flows unless there is gravity.

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

Ohh i see, at first i thought it's Multiphase flow simulation so i can change the density of fluid to vary it. Thank you very much for your answer, it helps me a lot.

from mplbm-ut.

je-santos avatar je-santos commented on August 20, 2024

Don't worry about the density, the viscosity is the one that has a strong impact. Beware that the model used here (Shan-Chen) is notoriously unstable at high viscosity ratios.

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

can i ask again?

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

how to set the viscosity in the code?

from mplbm-ut.

je-santos avatar je-santos commented on August 20, 2024

Move omega_f1 and omega_f2 slowly away from 1

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

Okayyy Thank You:)

from mplbm-ut.

dreamofzhouxin avatar dreamofzhouxin commented on August 20, 2024

i use synthetic 3D single fracture as my Geometry. I already check the geometry input in the output file (tmp), from the vtkgeometry.vti 2_phase_sim, the geometry is correct and there is nothing strange. But when calculating the relative, the geometry becomes strange, seen from PorousMedium.vti in the "relperm/4relperm" folder. I assume there was an error while forming the geometry for running relative permeability. But i still don't have any clue where and how to fix it. Thank you image

hi azzahrapajaaa:

 I am new to LBM simulation, and I also want to simulate two phase flow in single rock fracture. I tried the useful code written by je-santos like you, but I don't know how to input a 3D fracture geometry that is in the folder (/domain_construction/fractures/). Yes, I have gotten fracture_Df_2*.dat file int the output folder by Create_rough_fractures.m code, can i input it to the simulation directly or how can i input my fracture geometry like Df_25.fre?  Please give me some advises, thanks a lot in advance, waiting for your reply!

zhouxin

from mplbm-ut.

azzahrapajaaa avatar azzahrapajaaa commented on August 20, 2024

@dreamofzhouxin Hi zhouxin. I'm sorry but the geometries was generated by other code. I only use je-santos code for the LBM two phase flow simulation. I don't know what is the certain type of your output file, but you can save your geometry as .raw file and upload it on google drive, and copy the download link to the code.

from mplbm-ut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.