|
[Sponsors] |
September 8, 2014, 06:35 |
|
#161 |
New Member
Join Date: Jul 2014
Posts: 5
Rep Power: 12 |
oh, thank you for your quick reply! now it's working, thx!
|
|
September 9, 2014, 08:15 |
blender 2.70 + swiftSnap
|
#162 |
New Member
Krzysztof Wołosz
Join Date: Oct 2010
Location: Poland
Posts: 15
Rep Power: 16 |
Hello,
Your contribution in development of swiftSnap and swiftBlock must be admired. Today I started testing of blender 2.70 with swiftSnap. Previous version was 2.66 and everything worked great. I don't know if I'm doing something wrong but when I write snappyHexMeshDict in triSurface directory I have only one patch. In snappyHexMeshDict I have that patch mentioned four times because my model consists of four patches. I seems that swiftSnap wrote only one obj file instead of four of them. I hope I made some stupid mistake Regards Krzysztof |
|
September 17, 2014, 06:27 |
Generating STL file
|
#163 |
Member
Join Date: May 2014
Posts: 31
Rep Power: 12 |
Hello,
I am trying to simulate airflow over an aircraft. I downloaded an stl file for a cassena aircraft. However it is not present as a single object in blender (I can move some parts such as propellers from rest of the plane). It also contains cracks (near rudder). Is there any way to modify it in blender to get a well connected surface? Thanks kcn |
|
September 17, 2014, 07:34 |
|
#164 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi,
for swiftsnap you need to have them in one object. Also it should be watertight. There is plenty of info on the web how to do this in Blender. Regards, Kalle |
|
October 14, 2014, 12:26 |
|
#165 | |
New Member
Robert Peters
Join Date: Oct 2012
Posts: 3
Rep Power: 14 |
Quote:
Robert |
||
October 17, 2014, 12:04 |
|
#166 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi Krzysztof and Robert,
seems gmail put cfd-online messages as spam again. Sorry for missing both your questions. I did not use 2.70 yet so I missed the issue you have discovered. There was a stupid typo that somehow did not cause trouble in older versions of Blender. Thanks for complaining here and bringing it up! I have fixed it and pushed it to github! Regards, Kalle |
|
October 22, 2014, 06:57 |
Unexpected connection of number of cells
|
#167 |
New Member
Krzysztof Wołosz
Join Date: Oct 2010
Location: Poland
Posts: 15
Rep Power: 16 |
Hi Kalle,
I am working on block mesh which consists of about 20 blocks. Recently, I found out something unwanted and quite annoying. When I change the number of cells in one edge then , unintentionally, number of cells in edge perpendicular to the first one is changed. When I tried to correct this, I turned out that the both edges are connected "to the death". I tried to differentiate them by diffrent grading but nothing seems to be the solution. I also tried it in blender 2.7 and 2.66.1 with the same result. Maybe you could find the answer. Regards Krzysztof |
|
October 22, 2014, 09:04 |
|
#168 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi!
Sounds indeed annoying. Could you send me the blend-file? Kalle |
|
October 24, 2014, 16:35 |
|
#169 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
I could not repeat Krzysztof's problems, but the book-keeping for grading and force resolution was messed up. I have implemented a better strategy for this now. It is now more space conservative - you can always use up to 100 different gradings and forced resolutions in a model. Previously it would not delete unused entries, and you could after some trials with different settings (100 of them) run out of space.
This can be used also on old models - no need to start from scratch. Kalle |
|
November 5, 2014, 11:46 |
|
#170 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
Hi everybody.
I'm going to install and test SwiftSnap with Blender and OpenFOAM. I'm not experienced, so I made no manual installation and tried to look for the add-on through the User Preference panel. I can't find the category OpenFOAM nor the add-on SwiftSnap. My configuration: Ubuntu 12.04 LTS Blender 2.62 OpenFOAM 2.3 Am I wrong with the 'automatic' installation procedure? Is SwiftSnap compatible with OpenFOAM 2.3 too? Thanks for your help. |
|
November 5, 2014, 12:40 |
|
#171 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi!
I have not used "install from file" myself, but it seems that you should just download a zip from github, and feed it to Blender. Probably you wont be able to do a "git pull" later, though. Anyway, manual installation is so simple so it cannot be a big deal (at least in a system with git), plus you can update it anytime. Unless you use a really old version of swiftsnap, which I do not recommend, you need to use a more recent Blender, like 2.70 for instance. Code from github will surely not work on 2.62. SwiftSnap works well with OF 2.3! Kalle |
|
November 6, 2014, 06:02 |
|
#172 |
Senior Member
Join Date: Feb 2010
Posts: 213
Rep Power: 17 |
Hi Kalle, thanks for your help. Just a feedback to share with other newbies (with Ubuntu 12.04 LTS)
Blender Don't install from synaptic, it's a very stable release but too old for the SwiftSnap addon. You can install Blender from a PPA providing more recent versions, but I simply downloaded the pre-compiled version from Blender homesite. - Download the appropriated zipped file (32 or 64 bit) - Extract in your applications folder (home is the default folder) - Launch Blender with the executable file Blender in the extracted folder (I simply rename it as blender) - If you want to lock Blender in the launcher, the usual procedure doesn't work (the icon flashes but anything happens). Save a blender.desktop file in usr/share/applications, something like Code:
[Desktop Entry] Version=1.0 Name=Blender Comment=Blender 3D Graphics Exec=/home/userHome/blender/blender Icon=/home/userHome/blender/icons/scalable/apps/blender.svg Terminal=false Type=Application Categories=Graphics;3D;Application; SwiftSnap This is not a clean procedure because I'm not experienced with Blender and addons installing, so I walked by trial and error. - Download the zipped file from GitHub (not in the addson directory of your Blender installation folder) - From the User Preferences panel in Blender (Addons tab), choose Install from File and select the SwiftSnap archive - The SwiftSnap item appears in the addons list, but I couldn't enable it because Blender complains about the missing SwiftSnap folder and python files. I extracted the SwiftSnap archive in the Blender addons folder (e.g. /home/userHome/blender/2.72/scripts/addons), anyway Blender warned about more files related to the same addon. I tried to remove the addon from the list but the remove button seemed not to work. I closed and launched again blender and I could enable the SwiftSnap addon without warnings, so I could overwrite the User Preferences file. - I have not used the addon so far, but I can see the SwiftSnap entries in the Properties window. If someone explains what was wrong with the described addon installing procedure, I'll correct and update this post. Last edited by vaina74; November 6, 2014 at 07:27. |
|
November 27, 2014, 03:27 |
Adding an inlet to a wall using swiftblock
|
#173 |
Member
Join Date: May 2014
Posts: 31
Rep Power: 12 |
Dear Kalle,
I have a problem in which I have to add a small opening for an air flow into a square room. I tried to do this by adding a block in blender and then using a boolean difference operator I cut a small opening in a face and add a new face there and defined a new patch type for it using swiftblock. How ever I couldn't draw the mesh that way. (no preview mesh is generated). Can you please tell me a way to add such an inlet? I attached a drawing with red square showing the inlet. |
|
November 27, 2014, 06:31 |
|
#174 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Hi!
You need to manually create the needed block structure. In this case you need 9 blocks. A boolean operation will not do this for you, but it is possible that you can use it as a starting point. Study the provided examples carefully, and you will understand how a block structure is designed. Regards, Kalle |
|
November 28, 2014, 11:16 |
|
#175 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Quote:
I'm trying to install swiftBlock as stated above, but I'm having some troubles and I don't understand why. Could anyone help me with it? After I try yo clone the repo this error is shown in the terminal... Code:
Cloning into 'swiftBlock'... error: SSL certificate problem: unable to get local issuer certificate while accessing https://github.com/nogenmyr/swiftBlock.git/info/refs?service=git-upload-pack fatal: HTTP request failed Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
December 2, 2014, 15:49 |
|
#176 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Finally I could get rid of that error, it was a matter of protocols, I downloaded under git protocol instead of https and that was it!
Now I'm facing a problem with the plug-in itself. I'm modelling a simple set of walls of a house. The geometry in this case is quite simple as you can see in the picture.It only consists of a front wall and a couple of side walls. The front wall has a window in it... and here comes the problem! I want every wall to be in its own region/set and that the window has its own region/set aswell, that is to say, I need to define 4 regions: front, window, side1 and side2. To do so, I did it as it's said in the wiki page: Quote:
The output I get with the alternative of creating hole's blocks is the same that I get with the "disabled" trick. At this point, I wonder if it's correct or not what I marked in red in the text extracted from the wiki. What am I doing wrong? Why am I not able to get the window region? Note: My OF and blender versions are 2.3.x and 2.70 Many thanks in advance! Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
December 6, 2014, 06:12 |
|
#177 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Alex' issue was solved in private communication. A few bugs were discovered in the process. Since Blender 2.68 a change in the Python API gave problems with the user interface on block naming. Also, if a block was found in two groups, the last group's name was used... and not as stated in the manual on openfoamwiki. Those two issues are now fixed. Thanks for helping me finding them, Alex!
Kalle |
|
January 14, 2015, 06:20 |
|
#178 |
Member
amine
Join Date: Jan 2014
Location: FRANCE
Posts: 84
Rep Power: 12 |
The swiftblock addon is very interesting, but we have only one tutorial (https://www.youtube.com/watch?v=8P7vj7SccDM) and its not enough. I have try to do this tutorial (I work under ubuntu 14.04 LTS and blender 2.69) but i don't have good result (see picture). I hope that people who are more experiments on SwiftBlock can set up tutorials for users of OpenFOAM.
|
|
January 14, 2015, 06:33 |
|
#179 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
You are right, usage information is lacking. Main limitation is time to do this.
However, to a large extent successful use of the addons depends on the users knowledge of Blender. If one is well familiar with Blender, the written information should provide enough information on how to use the tools. It more or less also needed that the user is well familiar with how to set up the input files (manually) for blockMesh and sHM. Else, a lot of concepts in the addons becomes unclear. Becoming a skilled Blender user needs some devotion. However, I would encourage people to learn Blender. It is really useful for making, for instance, presentation material. There are tons of material on the web for learning Blender. Regards, Kalle |
|
January 14, 2015, 06:58 |
|
#180 |
Member
amine
Join Date: Jan 2014
Location: FRANCE
Posts: 84
Rep Power: 12 |
Dear Kalle,
I have six month experience on Blender, but when I try to do the tutorial I don't have a good result (see picture). I try to do a same mesh like ICEM on Hydrocyclone problems. I will try to make Youtube tutorial if I have success with Swiftblock. Best regards |
|
|
|