Skip to content

mathias

Forum Replies Created

Viewing 15 posts - 571 through 585 (of 603 total)
  • Author
    Posts
  • in reply to: velocity with LBM #2098
    mathias
    Keymaster

    Dear saida29,rnrnI am n ot really a Fortan expert. To speed up, can you please indicate the line where the velocity is finally computed, shorten the code and comment it.rnrnMathias

    mathias
    Keymaster

    Have a look at: http://dx.doi.org/10.1063/1.1399290 rnrnMathias

    in reply to: External flow in openLB – doubts #2092
    mathias
    Keymaster

    Dear Shreyas,rnrn The function “”setOffset”” of “”BlockGeometry”” does not change the matrix itself. You need to create a new “”BlockGeometry”” and copy the data by hand. Yet, it is much easier to use the read function of the “”STLReader”” with an appropriate offset. rnrnMathias

    in reply to: External flow in openLB – doubts #2090
    mathias
    Keymaster

    Dear Shreyas,rnrn It is not working with “”blockGeometry.setNx ( some new nX)””. You can do it like this: rnrntemplate<typename T>rnvoid STLreader<T>::read(BlockGeometry3D &matrix, unsigned direction,rn unsigned voxelNumber, unsigned pad,rn double fraction, unsigned samples,rn unsigned offsetXN, unsigned offsetXP,rn unsigned offsetYN, unsigned offsetYP,rn unsigned offsetZN, unsigned offsetZP) const {rnrnrnwhere you distinguish between positive P and negative N direction. rnrnMathias

    in reply to: External flow in openLB – doubts #2088
    mathias
    Keymaster

    Dear Shreyas,rnrn1) You can define and an offset (cf. read function is stlReader.h) of constant size. In the next release we will have an extension for arbitrary offsets. It is not a big thing to program it in “stlRealer.h”.rn2) I am not sure that I have understood your question correctly. Actually the no. of cuboids is defined by the user.rnrnRegardsrnMathias

    in reply to: User Guide #2086
    mathias
    Keymaster

    Dear Philipp,rnrn This depends on the contributions of OpenLB authors and users who are willing to share their work under GPL2 license. OpenLB is an open community – so everyone is invited to participate and share! Their names will be listed on the website. Interested friends of OpenLB can send an email to contact(a)openlb.net to be involved.rnrnMathiasrn rn

    mathias
    Keymaster

    Dear Bolt,rnrn Depending on actual shape of the obstracle Bounce Back might just 1st order accurate. You will get better results if you refine the mesh and a better order with Bouzidi’s boundary conditions. We are currently working on Bouzidi’s boundary conditions.rnrnMathias

    in reply to: Problem with MPI execution an LBM algorithm #2077
    mathias
    Keymaster

    Dear Patrick,rnrn Please download release 1 of 0.7 if you have not done yet. Further, please send the Makefile.inc you are using to bug@openlb.net . I am using gcc 4.4.3 and openmpi and just tested this example which was working fine.rnrnMathias

    mathias
    Keymaster

    Dear Bolt,rnrn The reason is the motivation behind Bounce Back: a particle moving towards the wall, coliding with it and being reflexted. So you can also include it in your step 3. It really depends on how you have implemented your LBM, e.g. if you a working with ghost cells.rnrnMathias

    mathias
    Keymaster

    Dear Bolt,rnrn I would include it in the stream step.rnrnMathias

    in reply to: Compilation errors #2066
    mathias
    Keymaster

    Dear both,rnrn Unfortunately I have no experience compiling OpenLB on a Windows system. Maybe there is a problem with included opose to “”boost”” files. You can try and remove the line “”src/external/boost “” in the file “”Makefile.inc””.rnrnMathias

    in reply to: Compiling of openlb in windows #2065
    mathias
    Keymaster

    Dear Atul,rnrn Compiling OpenLB using linux is quite easy. First you need to install a compiler like “”gnu gcc””, and also “”make””. Both is standard and probably already installed on your system. If you want to run OpenLB in parallel you also need to install “”mpi””. Then, go into one of the example folders and type “”make””. Then, OpenLB is compiling automatically. To run the example program type ./””program name””. You will also find our user guid helpful.rnrnBest regardsrnMathias

    in reply to: Fish #2062
    mathias
    Keymaster

    Dear Jay,rnrn Have a look at “”cylinder2d”” and “”cylinder3d””. There is an object in a tube. We have implemented Lagrangian particles recently. It is working well and we think of releasing them in one of the next releases. You can contact me directly if you want to know more -> info(at)openlb.net.rnrnMathias

    in reply to: LBM Poiseuille 2D help #2061
    mathias
    Keymaster

    Dear Jeff,rnrnat first I would try simple Bounce Back as boundary condition for all corners. I further recomment to have a look at papers of Michael Junk et al.. I remember some very helpful papers of him about that topic.rnrnMathias

    in reply to: Trouble using Intel icpc compiler #2060
    mathias
    Keymaster

    The problem should be solved now. Thanks a lot for reporting!rnMathias

Viewing 15 posts - 571 through 585 (of 603 total)