I am modelling a space frame in Abaqus. I need to take elements that satisfy certain criteria in the model (vertical, at certain angles, height less than) and then calculate the strains on them. I know how to export the field outputs (for U1, U2 and U3, etc) for the whole model. It would be great if I could get the node table (with undeformed node coordinates) and element connectivity table for the whole model. Is there a way to export these tables in a text file (or some other file) so that I can do the post processing outside Abaqus (preferably in MATLAB)?
Related
I have a web page which feeds users data in HTML tabular format. The table can be quite complex and long (say 40-50 columns in total). Different users will be interested in different columns, so to accommodate, the user has the ability to modify the columns of the table to his own preferences, so that he can:
change their width
change their order
set them hidden
(Each table has a unique table-id, and each column in a table has a unique Id within that table.)
The problem, of course, is that the next time the user uses the website, he won't want to spend time again re-configuring his preferences. So my website needs to store his preferences (which I can do in his database profile).
But what is the best way of storing the required data, so that (using JavaScript) I can re-draw the table for the user, as he last left it?
I can use either XML or JSON as a technical platform for storing the required information.
But the question is, what is the best format for storing each column's width, position and visibility, in such a way that my JavaScript can redraw his screen with minimum processing?
The problem, really, is that sometimes I need to access the column's data by referencing the column ID, and other times by its numeric position. So sometimes an object would be a better option, and sometimes an array.
Interested to know how other people store this kind of data.
--EDIT--
To re-word the question (and abstract away from the real world situation of HTML tables), I suppose what I really want to know is:
How do I best store data in such a way that I can access it by both
its ID (primary-key) and Numeric-Index, given that the Index of the ID
(primary-key) can change over time.
I've got a question about how to create one dimension in SSAS that contains a hierarchy built from two dimensions.
I have a fact-table:
sales
and a many-to-many relation between two dimensions:
customers
bridgecustomersTerritory
territory
And the Territorydimension is at the moment built as a ragged hierarchy containing a ID and a parentID.
This works fine if i use the Territory dimension and Customer dimension apart from eachother as dimensions.
But i would like to add the customer at the bottom of the territory hierarchy
Is this even possible with the setup that i've got right now?
If i change the Territory to a "normal" hierarchy with a solid number of levels, would that help?
//Kriss
You cannot have attributes from two dimensions in one hierarchy. And as you use a many-to-many relationship between customer and territory, I assume you need it as a customer can be located in several territories, and there is obviously more than one customer per territory.
But why do you want to have customers and territory in one hierarchy? You can have them in separate hierarchies, and still use them in one query. In MDX, and hence in most client tools accessing Analysis Services that I know, you can drag more than one hierarchy to the rows or columns.
UPDATE
To some extent, I can understand the requirement to combine things. In a client tool that I developed, we do not expose the dimensions to the user at all, we are just using the display folders of the attributes/hierarchies. In this way, we can show attributes/hierarchies close together even if they technically need to be in different dimensions due to the modeling requirements. But they are still separate attributes/hierarchies, and users work well with this.
Yes, if you would want one hierarchy, you would need to integrate the customers into your territory dimension, taking care that you break down a customers measures like sales correctly between the different territories. And if you can do that easily, maybe there is no need for a many-to-man relationship at all.
We are trying to set our BI team's reporting standards for Business Objects Universe Designer and Web Intelligence tools. We set some standars like below.
What are your ideas about these standards? Could you please share your standards documents?
Name the universe based on the application.
Give proper name universe objects (classes, dimensions, measures etc) according to
business terminology and being explicit in the definition. For
instance, an object called 'Sales' could be interpreted many
different ways. Is it Sales Revenue, Count of Sales Orders, Count of
Sales Order Lines, Average Sales Amount.
Company logo is put on the upperleft side of the report.
User prompts and last refresh time is put on the upper-right side of the report.
The title and report name describes the scope of the data (for example, university wide, unit specific, school/college level) and any conditions in the report (for example, term, fiscal year, department ID).
The columns of data are arranged in logical order.
When prompts are used, they model how the data should be entered. For example, “Enter the term (e.g. 1760)”
I think that this is a bit off topic for stackoverflow, and some of it is not clear or is commonsense anyway (eg. "columns of data arranged in logical order"), but I would suggest:
that every universe be associated with a three character code (eg. SAL, REV etc).
that every report be uniquely identifiable by a number, prefixed by the Universe code.
that non-trivial objects have as part of their definition a SQL-format comment giving their name and folder.
There two aspects :
Considering the technical aspect of the universe
Considering the end-user aspect of the universe
Technical aspects :
Layout of your tables should reflect your navigation
Version information/changes in either comment / hidden objects
try to use aliases as much as possible to show in what function your table is used.
try to refactor used constants in separate objects and use the #select to use them.
try to have a hierarchic naming convention so that the name will imply the navigation.
find a fitting naming convention for your connections.
User aspects :
DON'T DO THIS folder = table name , object = column name, it comes from dragging and dropping your tables.
object name is not literature, you are limited. It should be clear what the object is. Add comments always comments.
Limit number of folders, limit folder depth, limit number of objects in a folder.
Order the objects based on their use inside folder(most used on top).
We are using PHP / SQL to build a parts database which will output as a tree structure. After plunging head first into the coding with the nested sets model we realised that we needed to adjust the model to allow for multiple parents.
Effectively, every child can have more than one parent, and every parent can have more than one child, but each node cannot be its own relative.
We want to link a collection of parts (A) to a parent part and create a larger part (B) whilst keeping the original collection (A) in isolation. That part collection (A) could be used in another part tree but any change to part collection (A) would adjust all entitities it exists within.
We modified the nested model with dependency links similar to the adjacency model and an unique tree id for each part which allows for the individual trees to build up from that.
This worked perfectly to link parts but when it came to unlinking parts there were problems.
Part E could be part of Part D and Part C. When Part C is linked to Part B there is no unique route to Part E without traversal which becomes more extensive the larger the tree gets.
Is there a model which is best suited to a parts database such as this? We have looked at the methods in the question title and the potential to hybrid these models but it is not immediately clear which method or combination will suit this purpose.
Any input greatly appreciated. Thanks.
I would like to display local election results on a map. I have the shape files for all of the city's divisions, which can be static, but I'd like to dynamically plug in the percentages of votes for each division (viewers will view one candidate at a time).
A static example of this can be viewed at http://elections.timwis.com/fusion
This is exactly what I want, but this example is for one candidate, and is the result of merging the shapefiles with the percentages data with the division as the adjoining key, resulting in a static data source.
I have a big table full of vote results. I can easily provide a candidate name and get the candidate's percentages for each division. I want to then plug that into the polygons to change their colour and the content of their click-bubble.
I cannot do a LEFT JOIN with fusion tables, so I'm trying to figure out another way to do this.
I'm looking for a simple way of going about this, rather than having to install an entire stack of postgres, geoserver, and openlayers. It would be great if I could plug a front end map into a postgresql server or something. I'm a programmer but I've never worked with this stuff before, and I have a tight deadline.
Any ideas?
Out of curiosity, why can't you do the LEFT JOIN in Fusion Tables? Do your tables have incorrect keys? Or something else?
It sounds like what you want to do is have a map with a drop-down menu containing candidate names. When a candidate is selected, the gradient on the map is changed to show the voting percent for the selected candidate. Is this accurate?
If so, you can merge your voting result table with the table containing the boundaries for the regions. You can then use the Fusion Tables Layer in the Maps API and Fusion Tables Styles to dynamically style the data based on a filter. A demo of dynamically styling features can be found here:
http://gmaps-samples.googlecode.com/svn/trunk/fusiontables/dynamic_styling_template.html
You might be interested in seeing this election page, which has election results for various candidates:
http://elecciones2011.hhba.info/