Search found 26 matches

by Robert
Thu Dec 13, 2018 8:30 am
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello,
Thank you, I will try them!
Regards,
Robert
by Robert
Thu Nov 29, 2018 5:07 pm
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello, It doesn't. For the axial direction the profiles fit in both cases, but when it comes to `u` and `v` they don't fit. I tried to do something like: do ilelt = 1, nlelt ifac = lstelt(ilelt) iel = ifabor(ifac) x = cdgfbo(1,ifac) y = cdgfbo(2,ifac) z = cdgfbo(3,ifac) Rad='measured/known value of ...
by Robert
Mon Nov 26, 2018 2:29 pm
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello, You was precise, I wasn't. I wrote rcodcl(ifac,iw,1) = -0.7012*(z**2)+0.1144*z+0.0057 in the subroutine and it didn't work. Anyway the correct way, when z is the axial direction, seems to be something like: do ilelt = 1, nlelt ifac = lstelt(ilelt) iel = ifabor(ifac) x = cdgfbo(1,ifac) y = cdg...
by Robert
Thu Nov 22, 2018 2:43 pm
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello, yes, this is what I'm trying to do. I have two meshes with different quality (but same geometry references- a simple pipe). So I exported from Paraview the Velocity on x, y, z directions on the inlet of the Mesh1 (I used the GUI in this runcase). I found the function for each of them and now ...
by Robert
Wed Nov 21, 2018 9:57 am
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello, Thank you for the answer. Sorry, I just saw that it didn't upload the Values.txt. Anyway in this file I had a column with few values... So, D is the diameter of the pipe and in the .txt I had a column with 0*D 0.1*D ... 0.9*D 1*D. If the order of values in the file corresponds the order Satur...
by Robert
Tue Nov 20, 2018 3:07 pm
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello, I tried with no succes to read values from a .txt file. As you can see in the error file attached, there is a problem with the "read" command and I'm unable to fix it. I tried to put the Values.txt in SRC and DATA folders, I tried to write the entire path in the "open" com...
by Robert
Wed Nov 14, 2018 2:51 pm
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello,

I've got another question. Is it possible to put the equation which describes the profile and then fit the data to it? If so, could you give give me some hints about which subroutines should I modify to it?
Regards,
Robert
by Robert
Fri Nov 09, 2018 11:48 am
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello,

That would be great, thank you.

Regards,
Robert
by Robert
Thu Nov 08, 2018 1:48 pm
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Re: Import velocity profile

Hello,

Thank you for the answer. I forgot to mention that I'm using the version 5.0 for windows. So far I've found only how to couple code_saturne and salome on linux platform, is there any way to do the MEDcoupling on windows, or will it be available in the next version?

Regards,
Robert
by Robert
Wed Nov 07, 2018 10:30 am
Forum: code_saturne usage
Topic: Import velocity profile
Replies: 17
Views: 44118

Import velocity profile

Hello, Could you, please, tell me how to import a velocity profile on the inlet? I made a simple case and I exported the velocities to a .CSV file using Paraview. I have in this file four columns: 1 for position, and 3 for each component of the velocity on x, y, z axis and now I'm trying to import t...