Search found 6 matches

by jcharris
Sun Dec 08, 2019 1:25 am
Forum: Discussion
Topic: Documentation, "4.5 Advanced topic"
Replies: 0
Views: 2

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> refers to the ...
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: 925

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_operations.cxx), and ...
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: 925

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: 1
Views: 2509

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: 275

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: 334

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.