mathias
Forum Replies Created
-
AuthorPosts
-
mathiasKeymaster
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
mathiasKeymasterDear 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
mathiasKeymasterDear 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
August 28, 2012 at 5:13 am in reply to: In which operation should I apply the Bounce back conditions ? #2078mathiasKeymasterDear 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
mathiasKeymasterDear 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
August 24, 2012 at 7:26 am in reply to: In which operation should I apply the Bounce back conditions ? #2069mathiasKeymasterDear 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
August 16, 2012 at 6:37 am in reply to: In which operation should I apply the Bounce back conditions ? #2067mathiasKeymasterDear Bolt,rnrn I would include it in the stream step.rnrnMathias
mathiasKeymasterDear 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
mathiasKeymasterDear 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
mathiasKeymasterDear 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
mathiasKeymasterDear 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
mathiasKeymasterThe problem should be solved now. Thanks a lot for reporting!rnMathias
mathiasKeymasterDear Atul,rnrn Unfortunately, I cannot help you – I am working with Linux. But it should be possible to run the Makefile. I heart from people working with Eclipse in Windows. You can also run a virtual machine, then you have a Linux system within Windows.rnrnMaybe soneone else of the forum community can share some experience? rnrnMathias
mathiasKeymasterDear Jepson,rnrn A few years ago we were researching this problem in detail (cf. 2009, Heuveline, V. & Krause, M.J. & Latt, J.: “”Towards a Hybrid Parallelization of Lattice Boltzmann Methods””, article in Computers and Mathematics with Applications, 58, 1071-1080). Basically we found that you need to pin the OMP-threads to specific cores to reach almost the performance obtained using MPI. Unfortunately, you need some system calls to do that. Since we want OpenLB to be as generic as possible, we decided against these optimizations. rnrnIn the mentioned paper you will also find some benchmark results to which you can compare yours. However, for a sufficient large grid size I would expect a better speed-up using 48 cores.rnrnMathias rnrn
mathiasKeymasterIndeed there was a bug! We have released a bug-fixed version.rnrnThanks a lot for reporting!rnMathiasrn
-
AuthorPosts
