CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   plasma actuator modeling udf code error (http://www.cfd-online.com/Forums/fluent-udf/115268-plasma-actuator-modeling-udf-code-error.html)

ares0508 March 27, 2013 07:46

plasma actuator modeling udf code error
 
Hello!

Now I just follow A.Bouchmal's MS thesis "Modeling of Dielectric-Barrier Discharge Actuator".

http://www.lr.tudelft.nl/fileadmin/Faculteit/LR/Organisatie/Afdelingen_en_Leerstoelen/Afdeling_AEWE/Aerodynamics/Contributor_Area/Secretary/Publications/publications/Msc_thesis_Adil_Bouchmal.pdf

However, the code which he atteched doesn't works.

I compiled the code and input conditions but when I start calculate, the error "FLUENT recieved fatal signal [ACCESS_VIOLATION] occurs.

My friend said that maybe the code is wrong.

Is there anyone who succeed to calculate this case?

Please help me to solve the problem.

Alimohamadi_nasr March 27, 2013 07:57

is there any udm in the code? if the answer is yes, did you determine the number of udm or not?

ares0508 March 27, 2013 08:59

yes there are 5 UDM, but I determine the number of UDM 5.

Alimohamadi_nasr March 27, 2013 09:15

in my case, the message appeared when I did not determine the number of udm, or for example I should define number of scalar in uds or otherr places. also, in my udf I should reset the udm in Demand, in this case also if i forget to do this it happens.

ares0508 March 27, 2013 09:27

Thanks to your reply.

but it still doens't works....

mm.abdollahzadeh May 14, 2013 08:09

Quote:

Originally Posted by ares0508 (Post 416707)
Hello!

Now I just follow A.Bouchmal's MS thesis "Modeling of Dielectric-Barrier Discharge Actuator".

http://www.lr.tudelft.nl/fileadmin/Faculteit/LR/Organisatie/Afdelingen_en_Leerstoelen/Afdeling_AEWE/Aerodynamics/Contributor_Area/Secretary/Publications/publications/Msc_thesis_Adil_Bouchmal.pdf

However, the code which he atteched doesn't works.

I compiled the code and input conditions but when I start calculate, the error "FLUENT recieved fatal signal [ACCESS_VIOLATION] occurs.

My friend said that maybe the code is wrong.

Is there anyone who succeed to calculate this case?

Please help me to solve the problem.

I have already runned that UDF and its working. U need to define two UDS also.

Skabirian May 25, 2015 05:18

Error
 
Quote:

Originally Posted by ares0508 (Post 416707)
Hello!

Now I just follow A.Bouchmal's MS thesis "Modeling of Dielectric-Barrier Discharge Actuator".

http://www.lr.tudelft.nl/fileadmin/Faculteit/LR/Organisatie/Afdelingen_en_Leerstoelen/Afdeling_AEWE/Aerodynamics/Contributor_Area/Secretary/Publications/publications/Msc_thesis_Adil_Bouchmal.pdf

However, the code which he atteched doesn't works.

I compiled the code and input conditions but when I start calculate, the error "FLUENT recieved fatal signal [ACCESS_VIOLATION] occurs.

My friend said that maybe the code is wrong.

Is there anyone who succeed to calculate this case?

Please help me to solve the problem.


Hello my friend
I've tried this code too. but I have compile error. how can I fix that?

`e` May 25, 2015 19:39

A. Bouchmal has used User-Defined Memory (UDM) in his UDF. Ensure you have enabled a sufficient number of UDM slots because otherwise the solver will crash with ACCESS_VIOLATION as the memory is not available.

They have also used User-Defined Scalar transport equations (UDS) for the electric potential and net charge density. You will need to enable these UDS fields as well.

Skabirian May 27, 2015 09:41

Thanks 'e'
what is the difference between them?
can you help me to run this code?
thanks

Skabirian May 28, 2015 09:47

Quote:

Originally Posted by `e` (Post 547614)
A. Bouchmal has used User-Defined Memory (UDM) in his UDF. Ensure you have enabled a sufficient number of UDM slots because otherwise the solver will crash with ACCESS_VIOLATION as the memory is not available.

They have also used User-Defined Scalar transport equations (UDS) for the electric potential and net charge density. You will need to enable these UDS fields as well.

This is the Error I faced:

The UDF library you are trying to load (libudf) is not compiled for 2d on the curent platform (win64).
The system cannot find the file specified.

c:\users\siavash\desktop\libudf\win64\2d\libudf.dl l

`e` May 29, 2015 01:29

Quote:

Originally Posted by Skabirian (Post 547875)
Thanks 'e'
what is the difference between them?
can you help me to run this code?
thanks

UDS is for including another field scalar which is solved at each solver step and could include source terms. For example, they have used UDS for the electric potential and net charge density which are not usually included with the Fluent solver by default.

UDM is simply storing a value at every cell and is initialised with zero. For example, say you have an unsteady flow and want to visualise the locations where the local velocity exceeds some critical value. You could mark cells that exceed this critical velocity value and visualise these cells within Fluent as a contour plot as a function of your UDM. Without using UDM, you'd be left with the final solution and lose this intermediate velocity data at the end of each time step/iteration.

Quote:

Originally Posted by Skabirian (Post 548027)
This is the Error I faced:

The UDF library you are trying to load (libudf) is not compiled for 2d on the curent platform (win64).
The system cannot find the file specified.

c:\users\siavash\desktop\libudf\win64\2d\libudf.dl l

Have you read the threads on this forum for the same error? Ensure you're unloading and compiling your UDF properly, here are the steps I use.


All times are GMT -4. The time now is 16:59.