Search found 114 matches

by Mohammad
Mon Oct 05, 2020 11:21 am
Forum: code_saturne usage
Topic: How to check face joinings
Replies: 7
Views: 3013

Re: How to check face joinings

Hello,

Thanks a lot dear Yvan,

Does this procedure have order or priority? I mean is there any difference between:
cs_join_add("FACE1 or FACE2") and cs_join_add("FACE2 or FACE1")?

Regards,

Mohammad
by Mohammad
Thu Oct 01, 2020 7:39 am
Forum: code_saturne usage
Topic: How to check face joinings
Replies: 7
Views: 3013

Re: How to check face joinings

Hello, Thank you very much Yvan. Just one more question: in fluent, joining faces performs averaging of data on both sides before transferring to other side. Is this happening in code_saturne, I read the PDF, but didn't get my answer. If No, is there an option to average on one side and transfer tha...
by Mohammad
Sat Sep 26, 2020 10:59 pm
Forum: code_saturne usage
Topic: How to check face joinings
Replies: 7
Views: 3013

Re: How to check face joinings

Hello, Thank you for your quick reply! My mesh has two parts that I want to join them. First part has 10 cells(left) and the other part has 5 cells(right) as you can see in image below: (The height and the width of the two parts are equal, but different number of cells) https://i.imgur.com/gshWok1.p...
by Mohammad
Sat Sep 26, 2020 4:38 pm
Forum: code_saturne usage
Topic: Convergence criteria based on residuals in code_saturne?
Replies: 1
Views: 1422

Convergence criteria based on residuals in code_saturne?

Hello, As you know most of CFD softwares have options to set the residuals for equations, for example in fluent you can set the residuals of each velocity components or continuity equation that when the solver reaches that value, it will go to the next iteration like below: https://www.afs.enea.it/p...
by Mohammad
Sat Sep 26, 2020 4:13 pm
Forum: code_saturne usage
Topic: How to check face joinings
Replies: 7
Views: 3013

How to check face joinings

Hello, I've joined two boundary faces using cs_join_add , Now I wanna check that how the faces are joined to each other(for example face #1 is joined to which face or faces on the other side?) or to see the new faces or vertices which are created at the interface. How can I check that? Regards, Moha...
by Mohammad
Sat Sep 05, 2020 3:47 pm
Forum: code_saturne usage
Topic: Error in gradient of a property
Replies: 6
Views: 2978

Re: Error in gradient of a property

Hello,

Thank you very much dear Yvan, I appreciate your excellent and quick support.
The problem solved.

Kind Regards,
Mohammad
by Mohammad
Sat Sep 05, 2020 10:53 am
Forum: code_saturne usage
Topic: Error in gradient of a property
Replies: 6
Views: 2978

Re: Error in gradient of a property

Hello, Thanks Yvan. The field id error is gone now, but now I get this error for gradient calculation: SIGSEGV signal (forbidden memory area access) intercepted! Call stack: 1: 0x557474f2e40d <cs_field_gradient_scalar+0x11d> (cs_solver) 2: 0x557474f338ac <viswal_+0x1cdf> (cs_solver) 3: 0x7ff54b80eb0...
by Mohammad
Thu Sep 03, 2020 1:43 pm
Forum: code_saturne usage
Topic: Error in gradient of a property
Replies: 6
Views: 2978

Re: Error in gradient of a property

Hello,

Thanks for your reply.

I'm using ver 6.0.4.

Is there any temporary solution for this problem? Because It is crucial for me as defining a variable field instead of a property field slows down the code while using a variable field is not necessary.

Regards,
Mohammad
by Mohammad
Thu Sep 03, 2020 8:11 am
Forum: code_saturne usage
Topic: Error in gradient of a property
Replies: 6
Views: 2978

Error in gradient of a property

Hello, I've defined a property with the name "P1". I want to call the gradient function for this property with these commands: call field_get_id("P1",P1_fid) call field_gradient_scalar(P1_fid, iprev, imrgra, inc, iccocg, grads) But the simulation stops with this error: cs_field.c...
by Mohammad
Sun Aug 30, 2020 7:13 pm
Forum: code_saturne usage
Topic: Different pressure values on different machines!
Replies: 18
Views: 6881

Re: Different pressure values on different machines!

Hello Yvan and thank you.

I don't know what happend, but the problem went away automatically after 1 day!
I will send the files if this problem happens again!

Regards,
Mohammad