-
Notifications
You must be signed in to change notification settings - Fork 25
Review current examples documentation #1694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Transient Analysis examplesComments:
Issues found:
disp_z = disp.Z()
disp_z.inputs.time_scoping(timeids)
min_max_op = ops.min_max.min_max_fc(ops.math.norm_fc(disp_z))
# Extract a single field from the equivalent stress operator.
field = eqv.outputs.fields_container()[28]
# Print the first node IDs from the field.
print(field.scoping.ids[:10]) The line " Print the first node IDs from the field." doesn't means what it should. Suggestion: " Print the IDs of the first 10 nodes from the field"
offset = 0.0005
time_scoping = [0.05 + offset * i for i in range(0, int((0.08 - 0.05) / offset))]
print(time_scoping) To complex of a list definition method. It would be great to use a more explicit/visible/understandable method. |
Modal analysis examplesComments: Warning **ATTENTION EXEMPLE PB !!!! GRAVE ** Issues found:
# Choose to split the displacement on solid/shell/beam to only focus on shell
# # elements
# disp = model.results.displacement
# for mode in modes:
# fc = disp.on_time_scoping(mode).split_by_shape.eval()
# model.metadata.meshed_region.plot(fc.shell_field()) Can I use it as a function that accept the element shape as an argument?
|
Harmonic Analysis examplesComments: Issues found:
fields = fft.outputs.field_max()
len(fields) # one multi-harmonic field response per node Why we use the len() function here?
|
Advanced and Miscellaneous examplesComments:
Issues found:
|
File manipulation and input-outputComments:
Issues found:
|
Plotting examplesComments:
Issues found:
overall_field = dpf.fields_factory.create_3d_vector_field(1, dpf.locations.overall)
overall_field.append([0.2, 0.0, 0.0], 1)
|
Examples for post-processing on distributed processesComments:
Issues found:
like it has this triangle in the middle (empty) and a triangle breaking the symmetry in the upper left corner
|
Examples of creating custom operator pluginsComments:
Issues found:
# Python plugins are not supported in process.
dpf.start_local_server(config=dpf.AvailableServerConfigs.GrpcServer) The first line here ?
|
Averaging examplesComments: Issues found:
|
Mesh operations examplesComments: Issues found:
cs = model.operator(r"mapdl::rst::CS")
cs.inputs.cs_id.connect(12)
cs_rot_mat = cs.outputs.field.get_data().data.T[0:9] The first line??? //"The first 9 values in the cs output is the rotation matrix." Always the firs 9 values?
|
Cyclic symmetry examplesComments: Issues found:
|
Fluids examplesComments: Issues found:
formating? and thus sentence is too large
|
Streamlines examplesComments:
Issues found:
|
LS-Dyna ExamplesComments:
Issues found:
|
CFX examplesComments:
Issues found:
result_info = model.metadata.result_info
print(result_info.available_results)
# and
print(model.results) i think the first is just a longer method and it prints all the info in just one line (confusing) |
Review and comment the existing documentation
General observations
Basic examples
Comments:
Issues found:
-" Request specific time steps" part: It would be great to have a example file that have more then one step
ScopingsContainer
entity contains differentScopings
and can be connected to any result provider to get results split with the same partition as the inputScopingsContainer
'.The text was updated successfully, but these errors were encountered: