changing the element type in Abaqus - abaqus

I am choosing shell element to model a composite plates using Abaqus. I found that Abaqus used S4R as an element type in the data file.
I want ABAQUS to use S4R5 instead of S4R.
Could you please tell me how to do it
thank you
defining element type

Based on
Abaqus Analysis User's Manual 29.6.7 Three-dimensional conventional shell element library
S4R5 is a "4-node thin shell, reduced integration with hourglass control, using five degrees of freedom per node"
You should be able to change the element type in your input file from S4R to S4R5.
Just open the input file using text editor and change the S4R to S4R5 after keyword *element.

If you are working in CAE:
Select the "Mesh" Module
Select the "Assign Element Type" button (The one with "S4R")
This will open a dialogue box put these settings in to asign S4R5:-
Element Library - Standard,
Geometric Order - Linear,
Family - Shell
Changing Membrane strains from "finite" to "small" will give you the element you want.
let me know how you get on

Related

Block selection or multiple cursors in Texstudio?

The website of Texstudio advertises block selection or multiple cursor functionality, but I could not figure out which key combination to use for this feature reading their horribly cryptic user-manual.
I am familiar with how text selection with multiple cursors works in Sublime Text, for instance. Those key combinations don't work here.
Would someone be kind enough to please tell me how to do this in Texstudio? Thanks.
The key combination for block selection is Shift+Ctrl+Alt (See Sect. 2.8.1 in Manual)
Press them all together and simultaneously move the mouse or cursors to select the text.
Alternatively, Ctrl+Alt can be used to place multiple cursors without selecting, even in the same line or in non adjacent lines.
Without the mouse, you can use Ctrl+Alt and Up/Down arrows keys to place multicursors.
And for special use cases, there is Edit/Searching/Select All Matches, to create multi cursors after searching text with the search bar.
Edit/Selection/Select All Occurernces is like Edit/Searching/Select All Matches, but for the current word (the one where the cursor is currently placed) rather than the search.
In TeXstudio 3.0.0, there are new commands Edit/Selection/Also Select Next|Prev Occurrence to create multiple cursors to the next|prev occurrence of the current word.

Pick elements in processElement() - Apache Beam

I know that when we implement a ParDo transform, we pick up individual elements from our data(basically separated by "\n"). But what if I have an element that occupies two lines in my file. Can I apply my own condition to pick elements according to it? Or is it always necessary to have an element in a single line?
Reading of text files is controlled by TextIO, not by ParDo - I suppose that's what you meant. Indeed right now TextIO splits files into 1 element per line, however there is work in progress on changing that. You can follow the work at https://issues.apache.org/jira/browse/BEAM-2802.
It would be useful for that work, if you told more about your file format, to make sure it is in scope.

How can I cluster similar type of sentences based on their context and extract keywords from them

I wanted to cluster sentences based on their context and extract common keywords from similar context sentences.
For example
1. I need to go to home
2. I am eating
3. He will be going home tomorrow
4. He is at restaurant
Sentences 1 and 3 will be similar with keyword like go and home and maybe it's synonyms like travel and house .
Pre existing API will be helpful like using IBM Watson somehow
This API actually is doing what you are exactly asking for (Clustering sentences + giving key-words):
http://www.rxnlp.com/api-reference/cluster-sentences-api-reference/
Unfortunately the algorithm used for clustering and the for generating the key-words is not available.
Hope this helps.
You can use RapidMiner with Text Processing Extension.
Insert each sentence in a seperate file and put them all in a folder.
Put the operators and make a design like below.
Click on the Process Documents from files operator and in the right bar side choose "Edit list" on "Text directories" field. Then choose the folder that contains your files.
Double click on Process Documents from files operator and in the new window add the operators like below design(just the ones you need).
Then run your process.

Aligning 2 small molecules in PyMOL

I want to align to ligands in PyMOL like one would do it with protein structures, but I get an error message:
ExecutiveAlign: mobile selection must derive from one object only
I also copied the ligands into separate PDB files, renamed the HETATM entries to ATOM, but still I get this error. I am wondering why PyMOL has problems aligning those small molecules.
PS: Those ligands have similar structure, only different coordinates.
When you align with the align function pymol seeds the structural alignment by doing a sequence alignment first.
You can use the pair_fit function but will have to specify the corespondency between atoms. This function takes two selections, one for each element, that have the same number of atoms.
If the ligands have the exact same chemical structure you can pass the objects directly, if not you will have to make the appropriate selections.
Did you do this through the GUI? That's a bug, the align function never works from the GUI. Try doing it by command line.
align mol1, mol2

In SPSS, is it possible to export a dataset file to .CSV with the value names instead of the value numbers?

In my SPSS file, I have a variable called "X". It has four values: 1="dog", 2="cat", 3="hyena", 4="parrot".
If I export my data to a .CSV file, here's what it looks like:
X
1
2
3
4
I want the exported .CSV to look like this:
X
dog
cat
hyena
parrot
is this possible?
The other answers relate to the GUI, but some people prefer using the syntax editor. If you fall into that category, from the programming perspective, you can do something like:
SAVE TRANSLATE OUTFILE='path\to\file.csv'
/TYPE=CSV
/MAP
/REPLACE
/FIELDNAMES
/CELLS=LABELS.
Notice the last line, /CELLS=LABELS. -- If you wanted the values instead, you can change it to (surprise!) /CELLS=VALUES.
Yes, it is possible (at least in SPSS 20). In File Menu, choose, "Save As...", in the drop down menu in the dialog box that opens choose "Save as type: 'Comma delimited (*.csv)')", and underneath that select "Save value labels where defined instead of data values" (or hit "Alt-a") and choose "Save".
In my version of SPSS (17), the save window has a checkbox for "Save value labels where defined instead of data values", which will save the accompanying labels rather than numerical values.

Resources