FEMLAB-Exporting Data from Random Distribution of Points?

AI Thread Summary
FEMLAB users can export displacement data for subdomains using the file->export->post processing data feature, which allows for the selection of nodal points from a post-processing mesh or the specification of a regular grid with desired density. For applications requiring a uniform distribution of random points, users can define new output variables and utilize the scripting interface for customized data export. The improved export features introduced in release 3.2 enhanced the data export capabilities, making them more user-friendly. For importing position and displacement data to calculate applied strain, the scripting interface offers similar data I/O functionalities as MATLAB, enabling users to perform operations like differentiation. Alternatively, data can be imported into "tabular-variables" for direct manipulation within the GUI. Resources for learning about the scripting interface include the FEMLAB manual and community forums, such as the Yahoo - Comsol group, which may provide examples and discussions related to scripting challenges.
WashU
Messages
6
Reaction score
0
I am by no means an expert with FEM or FEMLAB. I am running some simple 2D axial symmetric models and would like to export displacement data for each of my subdomains. At the moment I am exporting in cooridnate & data form using a regular grid of points. However for my application the regular grid is not ideal and infact presents a problem. Is there a way to instruct FEMLAB to export coordinates & data from a uniform distribution of random points? Can I also make FEMLAB export more data from in areas with a more refined mesh and less data from areas where the mesh is less defined? Any ideas or help would be greatly appreciated!
 
Computer science news on Phys.org
file->export->post processing data should provide you the means you require, for example for subdomains you can use nodal points of a post-processing mesh of what order you wish or then read the coordinates you want output from an external file, or then specify a regular grid of desired density. Defining new output variables and outputting them with desired number of points is a good way as well, and if you use the scripting interface you can do pretty much what you want.
 
Is there a place I can go for information on FEMLAB's scripting interface? I have the FEMLAB manual in paper form but it really doesn't provide a lot of information on data exporting.
 
...if I remember about right the improved export feature was part of release 3.2 and generalized the data export features quite a bit, before it was "somewhat" clumsy. Don't know of any online sources for the scripting interface, the scripting manual is probably the best source, although the Yahoo - Comsol group does from time to time treat problems related to Comsol scripts and the archive may contain some examples.
 
Ok I worked out this problem and now have a new one. Is there any method of importing position and displacement data and having femlab determine the applied strain (essentially working the problem in reverse)?
 
...yeah, the scripting interface provides you pretty much the same abilities for data I/O as matlab, and then you can use whatever operations to the data you see fit (using the set of build-in function for differentiation for example comes handy ... if you read in the data, fix it to spatial domains and work from there you can use the application mode to do the work for you [like computing the strain state from a displacement field]). A more straightforward way can be to import data from file to for example "tabular-variables" and then work on them straight on if you want to work within the GUI.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top