Where should i define custom prop

satri
satri Altair Community Member

I am trying to do a bi-directional coupling simulation, and I am trying to understand how I should define the custom property.

I have a custom property called as prop1 in EDEM

Say I have put the API of the Hertz_Mindlin contact model in EDEM. I have two particles that come in contact with each other I ssign a value of 2 to prop1 in EDEM.

Next i go to ansys fluent, where I want to check if the value of prop1 is 2 i need to make it 3. I will do this in something called as dem_properties_template(dpm_scalar_udf.c)

I dont know how i can assign a value of 3 to prop1 here

I do not know what syntax to follow as this is EDEM written lib not ansys one.

Because my objective is in the next step of the simulation cycle when i put the simulation in debug mode, I should see prop1 as 3 in edem

Tagged:

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.