Next: How to run cgx
Up: Tips and Hints
Previous: How to define loads
Contents
How to map surface loads
Values at surface nodes can be mapped (interpolated) from a second mesh with the ''send'' command. This second mesh (data source or ``master'') is usually available as a result-file from a previous calculation. The ''read'' command with the ``add'' parameter can be used to include this file in the current model. Solver-input files (inp) and result files (frd) can be used as a data source. The command will add an offset to the nodes and elements so that existing nodes and elements will not be overwritten. The original mesh is the target or ``slave'' of the mapping process. The mapping process will create a file with the mapped values and will add the values to the dataset. The mapped values can be visualized by selecting the mapped dataset and entity and then by plotting the slave elements or faces with ``plot fv slave''. An example of the necessary commands for the mapping process is listed below:
Define a set with the slave nodes or faces. For example with:
qadd slave
comp slave do (to extend the set by the referenced faces or nodes)
Then open a set and read the master-model:
seto new
read result.frd add
setc
Define the faces with the master nodes:
comp new do
plot f new
qadd master (catch the right faces)
comp master do
If necessary move the slave in space to match the position of the
master (see ``move'').
Write the file with the mapped values:
send slave master abq surfmap ds1 e1
Check the mapping with:
ds 1 e 1
plot fv slave
Check the file ``slave_ds1.dat'' with an editor and use it
in an inp-file.
root
2011-03-26