Giter Club home page Giter Club logo

Comments (5)

pkarnakov avatar pkarnakov commented on August 19, 2024 1

Hi,
The file deploy/scripts/sim_base.conf contains descriptions of configuration parameters along with their default values.

  1. the maximum domain size is set by extent, to make the box three times higher, you need to add to add.conf
set double extent 0.06

and then use make 'm=192 384 192' run
2. the size and number of spawned bubbles is control by file bspawn.dat, so to have three sources with larger bubbles, try

0.015 0.002 0.015 0.002
0.02 0.002 0.015 0.002
0.025 0.002 0.015 0.002
  1. the boundary conditions in x and z are already periodic, as set in std.conf
set int hypre_periodic_x 1
set int hypre_periodic_z 1
  1. non-newtonian would require implementing additional force terms or non-uniform viscosity, which in principle can be done using the hook mechanism as in examples/210_step_hook
  2. the velocity field and volume fraction field can be written to hdf+xdmf files by setting in add.conf
set string dumplist vx vy vz vf
  1. this can also be done using hooks examples/210_step_hook

from aphros.

pkarnakov avatar pkarnakov commented on August 19, 2024 1

seems that you also need to change b.dat, which initializes the volume fraction field with a free surface (as one huge bubble)
the default values are 0 0.02 0 1e5 0.005 1e5, corresponding to x,y,z,rx,ry,rz for an ellipsoid.
so this bubble is supposed to be centered on the domain top,
with extent 0.06, you would need to change b.dat to

0 0.06 0 1e5 0.005 1e5

to center the bubble at the top

from aphros.

SaumiliJana avatar SaumiliJana commented on August 19, 2024

Thanks a lot for your response! It really helped a lot.

from aphros.

SaumiliJana avatar SaumiliJana commented on August 19, 2024

Could you please explain how set extent works?
I am running the example on my local machine before trying it on HPC. On my local machine, I was using 4 processors and m = 48 32 48 for the original case. To increase the box size by three times I did set double extent 0.06 and make 'm=48 96 48' run.
However, I am getting strange output with 2 boxes one on top of the other and one having almost 3 times more height than the other, with bubbles originating and clustering only in the smaller box. Could you please help to resolve this issue?
Thanks!

from aphros.

SaumiliJana avatar SaumiliJana commented on August 19, 2024

Yeah, it worked perfectly. Thanks a lot!

from aphros.

Related Issues (11)

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.