|
[Sponsors] |
[Discretizer] Discretizer, a free mesh program for CFD (Computational Fluid Dynamics) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 6, 2012, 02:58 |
|
#61 | |
Member
Join Date: Nov 2010
Posts: 62
Rep Power: 16 |
Quote:
|
||
April 11, 2012, 14:34 |
Possibility of a mesh grading ?
|
#62 |
New Member
Aurelien
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
Hello,
I'm new to Discretizer, and I'd like to know if there is any possibility to implement a mesh grading just like in Gambit with the aspect ratio/successive growth options ? I've only been able to produce cells of identical size (when considering one direction). Thanks. |
|
April 12, 2012, 01:15 |
|
#63 |
Member
Join Date: Nov 2010
Posts: 62
Rep Power: 16 |
I'm new to discretizer also but I belive the setting is something like "expansionRatio" you'll find on the lower half of the SnappyHexMesHDict form.
If all the cells are the same size I would expect that to have a value of 1? Sorry, I'm not on the machine with the software at the moment I'd post a screen shot if I were. The above though should be confirmed (I hope) by someone who knows this stuff properly. |
|
April 13, 2012, 13:39 |
|
#64 |
New Member
Aurelien
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
Hi Doug68, thanks for replying.
Your indication seems to be a good track, however I fail to implement it using the discretizer setup application. I still got to work on it, I'll post here if find a valid solution. |
|
April 16, 2012, 08:15 |
|
#65 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Try switching your OS from ubuntu to CAELinux. ( CAELinux is built on Ubuntu 10.04)
You get discritizer+OpenFOAM+Salome(stl geometry modelling tool...)+simpleFoam_GUI and many more. Its worth giving a try. |
|
April 16, 2012, 08:58 |
|
#66 |
New Member
Aurelien
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
Thanks kid, but I don't see how swithching to CAE Linux is going to help me. I can get all the softwares on Ubuntu.
My problem is: how to implement snappHexMesh from Discretizer is it possible?) ? |
|
April 17, 2012, 01:15 |
|
#67 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Yes it is possible.
If only you are ready to spend time and learn. regards |
|
April 17, 2012, 04:18 |
|
#68 |
New Member
Aurelien
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
May the force be with me then...
Thanks. |
|
April 17, 2012, 04:53 |
|
#69 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Well i did not meant that.(anyways)
plz check if you have a snappyHexMeshDict file in /system/ folder. (discritizer would need it) If yes, post the con-taint of file and error if any after you run discritizer. Else copy a sample snappyHexMeshDict file from tutorials of openFoam may be motorbike or anyother and try snappy . Regards |
|
April 17, 2012, 05:21 |
|
#70 |
New Member
Aurelien
Join Date: Jan 2012
Posts: 7
Rep Power: 14 |
That was a joke!
OK I'll do what you suggest and keep you posted |
|
April 20, 2012, 22:30 |
|
#71 |
Member
Join Date: Nov 2010
Posts: 62
Rep Power: 16 |
Firstly since my first post I think I’ve made good progress in being able to generate satisfactory mesh results, using a combination of Discretizer-Setup and some manual edits of snappyHexMeshDict (to get feature edge refinement working).
Moving on to the questions… Reading the OF user guide section on BlockMesh the convertToMeters and the example given is 0.001 scales to mm In the blockMeshDict file as created by Discretizer-Setup it is set as “convertToMeters 1;” which makes me think all of the values being described are m. However the STL files I amusing are described in mm, and the values for “blockMesh box” only make sense if they are mm, manual setting convertToMeters to 0.001 clearly screws the whole thing up. So at the moment I’m not sure of what’s going exactly, either the resulting mesh is a 3m cube or a 3000m cube. I’ve not found a method to measure the result in Paraview I can see its 3000 across but 3000 what? I believe I am either misunderstanding the purpose of convertToMeters or there’s something I’m not doing right in Discretizer-Setup, can someone advise? |
|
April 21, 2012, 09:40 |
|
#72 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Doug68,
If in ParaView it shows up as 3000, then it is in meters. It's best that you work everything in meters. For example, after you have the STL file, you can run: Code:
surfaceTransformPoints -help By the way, you should also take the chance of using surfaceTransformPoints to center the geometry in the origin of the referential, or at least put it very close to the origin. This is because snappyHexMesh uses an algorithm that is numerical sensitive to the location of the geometry in the simulation space. Best regards, Bruno
__________________
|
|
May 1, 2012, 05:37 |
|
#73 |
Member
Join Date: Nov 2010
Posts: 62
Rep Power: 16 |
Hi wyldckat,
Thanks that worked, I had hoped running openFoam on windows I'd escape learning UNIX commands, but no such luck! So I've been slowed even in doing simple things like you describe, but I am getting there (slowly). I have another question but this is the wrong thread for it... |
|
May 17, 2012, 13:05 |
|
#74 |
New Member
Dan Jestico
Join Date: May 2012
Posts: 1
Rep Power: 0 |
Hello All,
I'm new to both Linux and Discretizer, although I have some experience of OpenFOAM and CFD in general. I'm trying to install Discretizer200 on a linux (ubuntu) platform but have run into an error. When trying to run the discretizer200.sh file for installation, I get the following error message: /opt/discretizer/ruby/1.9.1-p243/bin/ruby: error while loading shared libraries: libruby.so.1.9: cannot open shared object file: No such file or directory It seems something is trying reference libruby.so.1.9, when in fact the correct file seems to be libruby.so.1.9.1 Has anyone had this issue trying to install Discretizer200? How did you get round the problem? Thanks for any help provided! Dan. |
|
June 21, 2012, 08:39 |
discretizer::setup
|
#75 |
New Member
Join Date: Jun 2012
Posts: 1
Rep Power: 0 |
Hi,
I've created some geometries with salome and discretizer but I don't succeed in loading them in discretizer::setup. I've tried recording them in .stl ...but no success, I don't know... Anyone can save me? everytime i try to load my different files I have this message : "Failed to load /home/.../discretizer please select OpenFOAM case dir." Thanks in advance for your help Regards fif |
|
July 9, 2012, 03:48 |
|
#76 |
New Member
Jason McGloin
Join Date: Jul 2012
Posts: 1
Rep Power: 0 |
Hello all. New user here and let me just give a big thanks to all those who have posted questions and solutions thus far. You've already helped me considerably. I only hope I can be of some help down the road as well.
I have been trying to get the hang of Discretizer and am getting some progress. The pitfall I currently find myself in is that when I use the filter extractBlock I get the proper shape with reasonable pressure profile but a zero velocity. The slice shows the velocity profile I would expect, but just the patch generated from the filter is completely zero velocity. Any ideas what to try? Thanks, Jason Dan, if you haven't solved your issue yet, I remember there being a couple .lib files you may have to delete to get Discretizer installed. They are on the Discretizer website. Fif, it sounds like you may just be trying to load the .stl in the field where Discretizer is expecting you to choose an OpenFoam case file or you don't have a valid case directory. Last edited by JMcGloin; July 9, 2012 at 03:51. Reason: Typo |
|
August 11, 2012, 12:56 |
Seeking help
|
#77 |
Member
Gareth
Join Date: Jun 2010
Posts: 56
Rep Power: 16 |
Hi all, new to the thread and new to linux.
I just installed OpenFOAM. And now i am trying to install Discretizer. I am unable to follow the install instructions on the home page can anyone help me to install the latest version to work with openFOAM211? I read earlier it is not setup initially for this version but i have not really encountered the "version" problem since just getting Discretizer up and running is where i am already failing. Download the tar.gz, extracted and placed in my /opt folder. Then i am supposed to access the bin folder which is curiously absent... Thanks in advance for the help |
|
June 23, 2013, 11:17 |
|
#78 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi Bruno
its good I found you here! a fundamental question! whats the usability of Discretizer? is it just a postProcessing utility like ParaView?what are differences?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
June 23, 2013, 11:50 |
|
#79 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
The old website for Discretizer: http://www.discretizer.org/node/1
Screencasts: http://www.discretizer.org/node/14 Discretizer itself is a tool for creating meshes interactively. If I remember correctly, it cannot import "blockMeshDict" files. Everything has to be drawn inside Discretizer and it uses a CSV file format, so deletion of vertexes has to be done outside of the program. Discretizer::Setup is another tool, but for preprocessing. It provides some basic capabilities for generating a mesh with snappyHexMesh and running one or two solvers. Both applications are made in Ruby. Installation instructions for Ubuntu 12.04 are available here: http://www.cfd-online.com/Forums/ope...tml#post434321 post #8 Both applications show great potential, but they also need tons of support for them to further evolve. For more information on other GUIs for OpenFOAM: http://openfoamwiki.net/index.php/GUI Best regards, Bruno
__________________
|
|
June 27, 2015, 15:05 |
Discretizer importing STL
|
#80 |
New Member
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 18
Rep Power: 13 |
Hi Everyone!
I have just started working with discretizer and I have a problem with importing geometry from STL format. After choosing the directory, STL file, approving with OK everything crashes not giving any error massages. Any ideas how to deal with this problem? Here is the output I got. Code:
(eval):5: warning: discarding old Fail (eval):7: warning: method redefined; discarding old included /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/1.9.1/shell.rb:49: warning: method redefined; discarding old debug= /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/1.9.1/shell.rb:115: warning: method redefined; discarding old debug= /home/jakub/OpenFOAM/discretizer/discretizer/svn/discretizer200/readstl.rb:93: warning: shadowing outer local variable - file /home/jakub/OpenFOAM/discretizer/discretizer/svn/discretizer200/readstl.rb:138: warning: mismatched indentations at 'end' with 'def' at 50 /opt/openfoam211/platforms/linux64GccDPOpt/bin/icoFoam /opt/openfoam211/platforms/linux64GccDPOpt/bin/simpleFoam /opt/openfoam211/platforms/linux64GccDPOpt/bin/rhoPimpleFoam /opt/openfoam211/platforms/linux64GccDPOpt/bin/interFoam /opt/openfoam211/platforms/linux64GccDPOpt/bin/solidDisplacementFoam /opt/openfoam211/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam /opt/openfoam211/bin/paraFoam /opt/paraviewopenfoam3120/bin/paraview /opt/openfoam211/platforms/linux64GccDPOpt/bin/foamToVTK /opt/openfoam211/platforms/linux64GccDPOpt/bin/transformPoints /opt/openfoam211/platforms/linux64GccDPOpt/bin/fluentMeshToFoam /opt/openfoam211/platforms/linux64GccDPOpt/bin/foamMeshToFluent /opt/openfoam211/platforms/linux64GccDPOpt/bin/renumberMesh /opt/openfoam211/platforms/linux64GccDPOpt/bin/setFields /opt/openfoam211/platforms/linux64GccDPOpt/bin/snappyHexMesh /opt/openfoam211/platforms/linux64GccDPOpt/bin/blockMesh execute from /home/jakub/OpenFOAM/discretizer/discretizer/svn/discretizer200, dialogs from /home/jakub/OpenFOAM/discretizer discretizersetup.rb:941: warning: instance variable @stlmesh not initialized -60.0, 60.0, -59.9868, 59.9868, -15.5, 1.5 currentsize 2 {"XMIN"=>-60.0, "XMAX"=>60.0, "XGRIDNUM"=>7, "YMIN"=>-59.9868, "YMAX"=>59.9868, "YGRIDNUM"=>7, "ZMIN"=>-15.5, "ZMAX"=>1.5, "ZGRIDNUM"=>1} /home/jakub/OpenFOAM/discretizer/discretizer/svn/discretizer200/readstl.rb:166:in `glGenLists': invalid enumerant (Gl::Error) from /home/jakub/OpenFOAM/discretizer/discretizer/svn/discretizer200/readstl.rb:166:in `drawshape' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `draw' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `block in draw' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `each' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `draw' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `block in draw' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `each' from /home/jakub/OpenFOAM/discretizer/ruby/1.9.1-p243/lib/ruby/gems/1.9.1/gems/fxruby-1.6.19/lib/fox16/glgroup.rb:75:in `draw' from discretizersetup.rb:2662:in `run' from discretizersetup.rb:2662:in `<main>' Last edited by wyldckat; June 28, 2015 at 16:15. Reason: Added [CODE][/CODE] markers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solution manual for essential computational fluid dynamics by oleg zikanov | okhitan | Main CFD Forum | 0 | October 25, 2014 16:54 |
computational fluid dynamics and finite element analysis | kabirgph | Main CFD Forum | 1 | October 17, 2014 07:59 |
unable to find any Online Course regarding Basic Computational Fluid Dynamics | Yuska Kamil | Main CFD Forum | 1 | December 17, 2007 15:39 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |