Search found 175 matches

by Tsubasa
Mon Oct 03, 2022 11:02 am
Forum: code_saturne usage
Topic: Signal SIGSEGV (accès à une zone mémoire interdite) intercepté !
Replies: 0
Views: 203713

Signal SIGSEGV (accès à une zone mémoire interdite) intercepté !

Hello, I am facing the following problem. I am using - Code_saturne: ver6 - Linux: 18 Signal SIGSEGV (accès à une zone mémoire interdite) intercepté ! Pile d'appels : 1: 0x7f0edede810c <cs_time_moment_update_all+0x112c> (libsaturne-6.0.so) 2: 0x7f0edecf5412 <caltri_+0x2811> (libsaturne-6.0.so) 3: 0x...
by Tsubasa
Thu Sep 29, 2022 10:42 am
Forum: code_saturne usage
Topic: Mapped inlet when there are another inlet faces
Replies: 25
Views: 32128

Re: Mapped inlet when there are another inlet faces

Hello, Please find the following. SIGSEGV signal (forbidden memory area access) intercepted! Call stack: 1: 0x7ff1ac7c566d <ple_locator_exchange_point_var+0x7d> (libple.so.2) 2: 0x7ff1ad7475e1 <cs_boundary_conditions_mapped_set+0x171> (libsaturne-6.0.so) 3: 0x7ff1ad748362 <cs_f_boundary_conditions_m...
by Tsubasa
Wed Sep 28, 2022 3:34 pm
Forum: code_saturne usage
Topic: Mapped inlet when there are another inlet faces
Replies: 25
Views: 32128

Re: Mapped inlet when there are another inlet faces

Hello I removed some part you pointed out. Now message shows SIGSEGV signal (forbidden memory area access) intercepted! So what do I have to do for this? call getfbr('mapped_inlet_duct', nlfac, lstfac) if (ntcabs == ntpabs+1) then allocate(lstcel(ncel)) do iel = 1, ncel lstcel(iel) = iel enddo coord...
by Tsubasa
Wed Sep 28, 2022 2:16 pm
Forum: code_saturne usage
Topic: Possible to impose Dirichlet condition for velocity and pressure at the same time?
Replies: 3
Views: 2970

Possible to impose Dirichlet condition for velocity and pressure at the same time?

Hello, This might be a stupid question. Now I am wondering if we can impose the Dirichlet condition for velocity and pressure on the same surface at the same time. In my simulation, the problem in pressure-driven flow is that it cannot take into account the flow of vertical direction if we use press...
by Tsubasa
Tue Sep 27, 2022 2:36 pm
Forum: code_saturne usage
Topic: Mapped inlet when there are another inlet faces
Replies: 25
Views: 32128

Re: Mapped inlet when there are another inlet faces

Hello Yvan, What do you mean by "remove the test around "normalize""? Selection criteria is the following, right? call getfbr('INLET', nlfac, lstfac) Now name of the face I want to impose mapped inlet is "mapped_inlet_duct" . I know this code is not correct because I do...
by Tsubasa
Fri Sep 23, 2022 1:31 pm
Forum: code_saturne usage
Topic: Mapped inlet when there are another inlet faces
Replies: 25
Views: 32128

Re: Mapped inlet when there are another inlet faces

Hello, As you said, I do not need rescaling. In my case, I need "mapped inlet" for only velocity and scalar transport. For user_subroutine, actually, I rarely used both c and Fortran, so I did not understand well when I read "cs_user_boundary_conditions-mapped_inlet.f90". cs_user...
by Tsubasa
Fri Sep 23, 2022 12:16 am
Forum: code_saturne usage
Topic: Mapped inlet when there are another inlet faces
Replies: 25
Views: 32128

Re: Mapped inlet when there are another inlet faces

Hello Yvan, So now as a test, I give 1m/s for inlet1 in the picture posted in the previous post, -1m/s for inlet2, -1m/s for inlet3. Then for surface4, I give the mapped inlet with -0.21m for X. Just one question, even though I choose "mapped inlet", I have to give some velocity value in G...
by Tsubasa
Thu Sep 22, 2022 11:48 pm
Forum: code_saturne usage
Topic: Error in scalar transport
Replies: 4
Views: 2928

Re: Error in scalar transport

Hello Yvan,

OK I will run a new simulation with the postprocessing option you suggest.
Once it is done I will send it to you.

Best regards,
Hamada
by Tsubasa
Thu Sep 22, 2022 11:31 pm
Forum: code_saturne usage
Topic: Error in scalar transport
Replies: 4
Views: 2928

Re: Error in scalar transport

Hello Yvan, Sorry I just forgot to add them. Here are user subroutines. cs_user_initialization.c cs_user_parameters.c Or would you download this which includes more files? all_files.zip In my case, at first flow simulation was done and next scalar simulation. In flow simulation, I used just cs_user_...
by Tsubasa
Thu Sep 22, 2022 3:21 pm
Forum: code_saturne usage
Topic: Mapped inlet when there are another inlet faces
Replies: 25
Views: 32128

Re: Mapped inlet when there are another inlet faces

Hello Yvan, Let me check again. Untitled.png In the picture above, at the inlet3 surface, I give negative velocity (like a suction). Then I want this value to be extracted and reused at surface4. So now at the surface4, I hope the flow velocity should be 0.5m/s moving from left to right direction. F...