Skip to content

Re: OpenLB 3D cylinder example

#2445
simonguo
Member
Quote:
Quote from robin.trunk on August 25, 2016, 07:30rnHi Simon,rnrnit should work, I tried with the same Paraview version. Maybe doing a “”make clean”” to delete old files before executing helps.rnDoes some error show up?rnDid you change something in the code?rnrnBestrnRobin

rnrnHi Robin,rnrnAnother question may need your kind help.rnIf I want to modify the geometry for cylinder3d (like shorten the cylinder length, but keep the original domain, so that cylinder doenn’t penetrate the domain), what should I do?rnrnI referred to “”http://optilb.org/openlb/forum?mingleforumaction=viewtopic&t=38″”, and have 2 ideas: rn1) edit the cylinder3d.stl file in freecad. I just wonder which file I need to modify? *.stl or *.fcstd? Besides the geometry, is there any mesh generation issues regarding to build my own geometry?rnrn2) Dr. Mathias mentioned “”/ set the material numbers “”by hand””rn””blockGeometry.setMaterial(iX, iY, iZ, 2);”” But I failed to find that block. Is this block still in cylinder3d.cpp?rnrnThanks for your kind advice.rnrnSimon