Search found 49 matches

by jcharris
Tue Mar 17, 2020 1:55 pm
Forum: code_saturne usage
Topic: Breaking the GUI
Replies: 3
Views: 3942

Re: Breaking the GUI

Version: 6.1-alpha-3d40cb102
by jcharris
Tue Mar 17, 2020 1:27 pm
Forum: code_saturne usage
Topic: Breaking the GUI
Replies: 3
Views: 3942

Breaking the GUI

Is there a reason why the attached xml file gives the error "Expressions are missing !" when you try to save it? In fact the file has nothing changed from the default except for creating an inlet with a prescribed "norm (user law)" and specified coordinates for the direction. Am ...
by jcharris
Sun Dec 29, 2019 8:21 pm
Forum: Discussion
Topic: Documentation of rough wall boundary conditions
Replies: 5
Views: 36406

Documentation of rough wall boundary conditions

If I understand correctly, with a k-epsilon approach (iturb=20), the default wall-model is a two-scales log layer (iwallf=3). However, the documentation does not appear to correspond exactly to what is in the code. In particular, it seems that Eq. I.5.2 is not correct (which should instead correspon...
by jcharris
Sun Dec 08, 2019 1:25 am
Forum: Discussion
Topic: Documentation, "4.5 Advanced topic"
Replies: 3
Views: 40536

Documentation, "4.5 Advanced topic"

Are there any plans to add a few words and improve the theory guide relating to the "iphydr" option ? It is not entirely clear what has been implemented. The theory guide for both v5.0 and 6.0 in the pdf <https://www.code-saturne.org/cms/sites/default/files/docs/6.0/theory.pdf#iphydr> refe...
by jcharris
Tue Oct 01, 2019 2:24 pm
Forum: code_saturne usage
Topic: How to add source code written in c++
Replies: 5
Views: 4959

Re: How to add source code written in c++

Ah, interesting, thanks ! I can confirm that it works. To say more precisely for those who may be interested, I was able to use C++ code without recompiling Code_Saturne -- first by using a ".cxx" suffix in the user routines in place of a ".c" suffix (for my test, cs_user_extra_o...
by jcharris
Tue Oct 01, 2019 11:36 am
Forum: code_saturne usage
Topic: How to add source code written in c++
Replies: 5
Views: 4959

Re: How to add source code written in c++

Has the status of C++ (or other languages) changed in recent years? I see that it's possible to include a C++ file with suffix .cxx, for example, which the Python bits will recognize and on my setup get compiled by g++, but gcc will still be used as the linker and then crash. Of course the missing p...
by jcharris
Mon Jun 24, 2019 4:16 pm
Forum: Flow modeling examples
Topic: Flow around a cylinder: Fluid-structure interaction
Replies: 3
Views: 32371

Re: Flow around a cylinder: Fluid-structure interaction

Just as a suggestion, perhaps this could be used to update the tutorial page (which still has documentation for running the test with version 2.0) ?
by jcharris
Wed May 15, 2019 12:15 pm
Forum: Discussion
Topic: FFT usage
Replies: 1
Views: 24693

FFT usage

Is there any function within Code_Saturne which computes an FFT? Would it be possible to call it from a user subroutine? Obviously it would be possible to write a custom FFT function into a user subroutine, likely overly long or inefficient in the process, but if it (or a library that contained an F...
by jcharris
Fri Apr 19, 2019 2:21 pm
Forum: Discussion
Topic: Imposed velocity ALE
Replies: 1
Views: 14374

Imposed velocity ALE

Just as a comment... Would it be possible in future versions to have access to x/y/z when setting the mesh velocity by the GUI with the mathematical expression editor, as it is already for setting the fluid velocity at an inlet? This could simplify the setup of a few interesting problems.