Search found 12 matches

by mattfalc1997
Wed Dec 13, 2023 8:05 pm
Forum: code_saturne usage
Topic: Time step dependent mesh artefacts
Replies: 1
Views: 22882

Time step dependent mesh artefacts

Hi, I have been running pipe flow simulations to better understand the causes of mesh artefacts that can occur in LES simulations. Similar to mesh artefacts previously posted on this forum, this is a time-step issue, with the implication being that this is related to the Rhie-Chow interpolation, as ...
by mattfalc1997
Sun Apr 11, 2021 9:12 pm
Forum: code_saturne usage
Topic: Changing boundary faces to interior faces
Replies: 1
Views: 1142

Changing boundary faces to interior faces

Hi, I am using ICEM CFD for mesh generation exporting it to Code_Saturne 6.0.5 via CGNS. I have constructed a quarter model of the domain and used ICEM to mirror the mesh in two directions to create the full domain. Necessarily the surfaces on the interface between the mirrored components contained ...
by mattfalc1997
Sat Mar 23, 2019 5:50 pm
Forum: code_saturne usage
Topic: Using gradient_s subroutine on user defined fields
Replies: 2
Views: 1748

Re: Using gradient_s subroutine on user defined fields

Just a further update, I corrected part of the subroutine and it seems to work for the first iteration, but the same error returns on iteration 2. I think this is because on the first iteration the variable (Turbulent Kinetic Energy) is 0, but as soon as the variable becomes non zero on iteration 2,...
by mattfalc1997
Sat Mar 23, 2019 3:49 pm
Forum: code_saturne usage
Topic: Using gradient_s subroutine on user defined fields
Replies: 2
Views: 1748

Using gradient_s subroutine on user defined fields

I'm try to use the gradient_s subroutine to find the gradient of a user defined scalar, however I get an error 'Forbidden memory access intercepted' but I'm not sure which part of it is causing it. There are quite a few terms so I may have misinterpreted some of them. If there are other methodologie...
by mattfalc1997
Thu Mar 07, 2019 3:36 pm
Forum: code_saturne usage
Topic: Boundary condition overlay
Replies: 5
Views: 2853

Re: Boundary condition overlay

Thanks for the reply, I found out how to select faces rather than nodes in ICEM CFD when the mesh is output. That fixed my problem without the need for cs_user_zones.c.
by mattfalc1997
Wed Mar 06, 2019 11:18 am
Forum: code_saturne usage
Topic: Boundary condition overlay
Replies: 5
Views: 2853

Re: Boundary condition overlay

Due to a repeat of this issue that I don't seem to be able to circumvent by regrouping the BCs, I've tried to use the cs_user_zones.c routine (from line 82 in attachment) basing it on one of the examples however it didn't seem to work and I still have the same problem. I just have a few questions ab...
by mattfalc1997
Sun Mar 03, 2019 4:07 pm
Forum: code_saturne usage
Topic: Boundary condition overlay
Replies: 5
Views: 2853

Re: Boundary condition overlay

Thanks for the reply, I've managed to solve this particular issue just by redefining some boundary conditions to prevent overlapping.

Best regards
Matthew
by mattfalc1997
Fri Mar 01, 2019 12:48 pm
Forum: code_saturne usage
Topic: Boundary condition overlay
Replies: 5
Views: 2853

Boundary condition overlay

I am producing a mesh on iCEM CFD, exporting via cgns. This usually works fine however on this occasion I am getting an issue which states that some faces belong to multiple boundary conditions, although on ICEM CFD I cannot see a problem. The error states that you can allow boundary faces to overla...
by mattfalc1997
Sat Feb 23, 2019 12:52 pm
Forum: code_saturne usage
Topic: Calling user defined tensors in fortran in versions 5.0 and 5.2
Replies: 4
Views: 2290

Re: Calling user defined tensors in fortran in versions 5.0 and 5.2

Thanks a lot, clarification on the non-symmetric case would be ideal, currently I'm just using the same order as they appear in the listing file.