Best Of
Re: configForTime in GPU cuda
hi Qi,
On GPU the function is split into 3 parts, particle, simulation and geometry are in the 3 different functions. On CPU it's all 1 function.
You should be able to find the documentation in the API Help
C:\Program Files\Altair\2023\EDEM\src\Api\Help > Index.html
On CUDA GPU:
- configForTimeStepParticleProperty. This will be run once for every particle once every timestep, before any contacts are computed. This is available for all 3 types of plugin shown above and an empty implementation must be provided if it is not required.
- configForTimeStepTriangleProperty. This will be run once for every triangle once every timestep before any contacts are computed. This is only applicable for particle-geometry contact models (2 above) and an empty implementation must be provided in the GPU file if it is not required.
- configForTimeStepSimulationProperty. This will be run once per timestep before any contacts are computed. This is available for all 3 types of plugin shown above and an empty implementation must be provided if it is not required. Note that this function is not available on the OpenCL solver.
On CPU:
| virtual void configForTimeStep | ( | NApiCore::ICustomPropertyDataApi_1_0 * | simPropData, |
| NApiCore::IParticleManagerApi_1_5 * | particleManager, | ||
| NApiCore::IGeometryManagerApi_1_3 * | geometryManager, | ||
| double | time |
Enables custom functionality to be carried out on a per timestep basis.
The function is called from the processor's performAnalysis routine at the start of each timestep.
Note: When using the CUDA solvers this will have no effect but an empty implementation must still be provided. In this case the config for time step function needs to be implemented in the CUDA .cu file. However, when using CPU or OpenCL solver this function will have to be implemented.
Default: Does nothing
- Parameters
-
simPropData Details of the associated simulation properties particleManager Particle property manager geometryManager Geometry property manager time current simulation time
Re: Altair Embed Code Generation "Access denied"
What looks suspicious for me is the path on your screenshot.
It is \Program Files\ etc. Embed uses the \cg directory for code generation, but Windows restricts access to \Program Files. Try to change the path first. It may not help because \cg contains compilation scripts along with generated .c files. Otherwise, reinstall Embed in the root like c:\altair\etc. so that Windows does not block access.
Re: How to set up dielectrics in PO calculations
The answer I received to this from Altair support is that the PO calculation method will not propagate signal through a dielectric, although it will calculate scattering from a dielectric. This means I've had to go back to TICRA GRASP to carry out PO of lenses, or to downgrade to the RL-GO method to calculate the system in FEKO - how much of downgrade this is I need to study.
Do you want to learn more about HyperWorks Customization & Automation? There is a dedicated eLearning course on learn.altair.com!
The eLearning course, HyperWorks Customization & Automation, is now available on learn.altair.com!
One of the most often requested advanced topics in HyperWorks is a class on the scripting layer incorporated in the HyperWorks suite of desktop applications (HyperMesh, HyperView). This class has been developed for someone new to Tcl/Tk but familiar with programming. The class is fast-paced, hands-on, and focused on the basic tools to get you up and coding quickly.
Want to get started? Click here to directly access this course.
ESC key
Hi,
Is it possible to use the ESC key for the Unselect All command as it was done in S-Frame 2022?
Re: How can I successfully run this simulation?
Hello @Torben Voigt ,
I am not able to open the model's you are sending me. When I download them and try to open them, I get this error.
Yolanda Gonzalez
Hi Yolanda,
You need to update Feko to version 2023.0.1:

Best regards,
Torben
Re: Can slc meet the standards of FDA for statistical analysis software used by CRO companies?
As far as I am aware the FDA uses SAS software to run SAS programs with SAS data sets.
Altair SLC can run SAS programs to create SAS data sets, and those SAS programs can be run using SAS software.
TBH I do not believe the FDA will notice, or care, whether Altair SLC or SAS software was used to run the programs and create the data sets sent to them! The FDA already accept data generated using R.
............Phil
PS. However, if you try to run existing SAS programs for the first time in Altair SLC, then you may find that these may fail if they use very new or undocumented features of the SAS programming language!
Re: A question about the material model of hysteresis
Hello
most of the information is on this page : https://help.altair.com/flux/Flux/Help/english/UserGuide/English/topics/HystereticMaterialsInFlux_IsotropicPreisach.htm?hl=preisach
I recommend you to use the Material Identification tool in order to fit any curve you have to these parameters if needed
Re: Air gap flux densities for a single node/point of a motor
Hello Divin,
The magnetic flux density is a quantity you can visualize and export from the standard Flux context.
The best way to export this quantity from the same nodes is to create a path with points coincident with nodes of interest. To do that you can create an arithmetic mesh line to assign at he sliding line and choose the right number of points to have along the path.
When you create a path you can choose the mechanical set to associate to the path as in the picture below. From this choice depends then the position during the solving steps; so if you want to have the path in the same position you have to choose the mechanical set fixed.
I hope this can help you.
Best regards,
Letizia

Re: I cannot find the Card Image Conduction
Hello Hassan,
Kindly proceed by following the steps indicated in the image. With just a single click, you can set the Heat Flux.

Regards,
Sriramanuj Prabhu.


