le discontinuous list of index numbers and I'd like to be able to generate a set of domains where each span of numbers would have its own domain. For example:
This list: 5,6,7,8,9,22,23,24,25,26,77,78,79,80,81...
Would give these domains: 5 to 9, 22 to 26, 77 to 81...
I'm at a loss as to how I can achieve this though. I know I can use the bounds function on the list but that would give a single domain, not several. In case it helps the list in question was generated by a true/false cull pattern from the complete list of indices so simply determining the indices of the beginning and end of each chunk of 'trues' in the cull pattern would work as well as it would give the same domains. I can post an example file if anyone would like but I figure this is a pretty general issue.
So anybody have any ideas on how to solve this multiple domains from a single list problem? Thanks in advance for any help at all, I'd really appreciate it!
James…
e BIOS as i noticed that i was required to do so. This is the progress i made. Now the file "do something". It takes about 4 minutes in the blockMesh component, so something is happening. But at the end of the 4 minutes i get the same error as before. Tried to run the start_OF.bat externally, but no use either.
Those are the snapshots of both of them:
Be patient ... and bear with me. Sorry for bothering with this ... and thanks,
-A.
P.S. There is a chance it is related to the firewall of my university, or some other security issue for those trying to apply virtual machines/hosting.
I'll try at home in the evening.
A more detailed image of the shell running the batch file manually:
…
ce condition I believe, which yes usually this is 0. Bare in mind that OF divides pressure by density, so if you want the 'real' pressure you would need to multiply the results by 1.205 (perhaps we add this in BF at some point but it's easy in native GH).
Vector based velocity is a very good idea, and a nice and easy way to model these kind of flows!
If you wish to experiment even further with the custom boundary condition components you can try implementing a flowRateInletVelocity boundary condition (see https://github.com/OpenFOAM/OpenFOAM-3.0.x/blob/master/src/finiteVolume/fields/fvPatchFields/derived/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.H)
It will allow you set the flows in m3/s, which is handy for usual HVAC specs. The direction of the patch follows the normal of the surface. Setting a minus in the volumetric flow rate assigns an opposite direction.
Thanks for using and sharing! Keep them coming!
Kind regards,
Theodore.
P.S.: Try this as an expirement. Increase the refinement of your mesh, factor of 4 should be nice. You can simply reduce the the blockMesh cell size by 4 to accomplish that. Try running the case and see the impact on the residual graph.
…
ters thesis on exactly stratification in atria and big semi-outdoor rooms.I am testing a bunch of variables and I was thus looking into utilizing Butterfly. However, this new update came too late in the process for me to fully test out.
I am very interested in your findings, as I had to go to the old fashion (and correct but yet very slow) way of using Ansys Fluent for my investigations.
I would however very much like to compare my results with the ways of the parametric tools, i.e. Butterfly: How valid are the results of BF so far? What could be optimized? When is the parametric tool favourable over the hardcore tools when considering these factors? What are the future objectives?
Could I therefore borrow your script later on at some point to use for my own to generate some analyses?Or would it maybe be possible for you to (in a month or so?) to create a very basic template script that is prepared for temperature analyses in an very simple atrium-like room maybe with an inlet and outlet as you are (or seem to be) making them? I am willing to go with NDA or give full credit to you and your work.
Very interesting what you are doing!!
Regards
Lasse Hamborg…
edit 29/04/14 - Here is a new collection of more than 80 example files, organized by category:
KangarooExamples.zip
This zip is the most up to date collection of examples at the moment, and collects t
r (top left) is connected with the list which contains the centroids of every triangle of my mesh (my canopy, that I turned into a series of triangular surfaces). In this part of the definition I evaluate the Z coordinates (extracted form the points).
I execute some operations in order to have my values from 0 to 1 (parametrization). Then I sutracted the lower value of the list to all the data. So I obtained a new list of numbers, which stay from 0 to 1 and I can use in order to determine a gradient in the arch openings.
The result? If you look carefully to the rendering I posted you'll see that the arches are less opened near the ground and more opened near the top. It's a structural way of design the canopy. The more loads you must support, the more closed your arches will be (and the more stronger you should be).
Anyway consider this part as not important, because this parameter is just a my interpretation, it's not essential in order to obtain the canopy I posted. If you want you can just substitute that emitter with a simple number, from 0 to 1. Don't know, try to put 0.4 as an imput and let's see what happens. The result will be more similar. ;-)
Nice to meet you Morgan.…
tecture: Realtime Physics for Space Planning
http://vimeo.com/15563685
"This is a preview of a parametric conceptual design tool for architectural
practice that I have been developing at NBBJ. I wanted to develop a
system that allows designers to quickly organize and understand complex
architectural programmes in three dimensions.
It is an advancement of the traditional bubble diagram; it solves
adjacency requirements automatically and suggests planimetric and
sectional relationships. The resulting diagrams are not formal
solutions; they are simply organizational diagrams with solved
adjacencies and accurate required areas. The diagrams are raw
materials, meant to be manipulated sculpturally, or even squeezed into a
formal container.
Technical Information
The tool was created in the Grasshopper plug-in for Rhino. Custom components, written in VB.NET,
read programme data directly from Excel into Grasshopper. The tool
uses the Kangaroo engine for realtime spring dynamics simulation."
…
green & B in red. These surfaces are at the centerlines of thicker beams in the model (not shown).
I have a list of "Intersections", the yellow vertical lines, usually four at each point the beams intersect (85 points or 340 intersections expected, though there are only 335).
What I'm trying to do is "get" the list of yellow vertical lines for each beam and keep them "associated", so that I can re-orient them with the thick beams in a flat, "nested" layout.
These intersections will appear in two sets of lists, one for beams "A" and another for beams "B".
I found and hacked a bit of C# script to partition the sorted list of indexes but not the related list of intersections ("Line-like Curves").
In this case, the data trees aren't working for me. I want "beam objects" with arbitrary properties, such as lists of intersections. Are there ways to do this "easily" in GH without resorting to C#, VB or Python?…
angel but when it comes to material behavior, stresses, surface tension i think that "our" tools are still no complex and powerful enough - and like i said i didn't really see the benefit in the work of my friend form the digital experiment.
so i think the question is is there a benefit from your digital experiment or do you rather stick to the physical experiment.
…