×

Notice

The forum is in read only mode.

An embarrasing question on units...

  • CAVT
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 8 months ago #4599 by CAVT
Ok, please don't laugh, but which units does Salome work with? I know it depends on your choice and all that, but I have my doubts about Salome, I think it has a 1000 or 100 factor going around somewhere. I usually make my models sticking strictly to the International System (m, mass kg, s, N, Pa, rad, etc.), so I alwasy enter geometries in meters. However, if I write "1" for a length (1m in my standard), Salome draws by default a pretty little line that I have to zoom deep to see. That doesn't bother me, but when I do CFD I get horrible results even in simple test cases with Saturne (I set 10m/s as boundary condition and I get 10^11 in most of the flowfield :blink: ). It could be me, but I'm following everything to the letter. That's why I think that Salome, or maybe Saturne, have a scaling factor. For example, Claus' tutorial for Saturne gives all the dimensions in mm, but how did you enter the dimensions in Salome? You wrote 1000mm or 1m? Because then in Saturne everything is in International System.
Please, this is not a complaint about Salome, it's great, but I'm missing something here, and I'm still practicing with Gmsh, so no chance to compare yet.
Thanks in advance.
More
14 years 8 months ago #4605 by Claus
Replied by Claus on topic Re:An embarrasing question on units...
It's not an embarrassing question - in many programs you get to select what scale you want to work with, but not in Salomé, Aster, SYRTHES or Saturne :)

I usually work with things in the [mm] department, but I use mKs and not mmKs to avoid confusion. Salome and Aster doesn't care which system you use, as long as you keep the units consistent, but as far as I remember, I was told that Code_Saturne interprets everything as meters, so you have to keep that in mind.

So one length unit in Salome = 1m in Code_Saturne. Someone correct me on this in case it's wrong.

About the results you get from Code_Saturne: It can be any number of things, check this thread out:

caelinux.com/CMS/index.php?option=com_jo...id=4577&catid=18

Regards,

Claus

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
  • CAVT
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
14 years 8 months ago #4607 by CAVT
Replied by CAVT on topic Re:An embarrasing question on units...
Thank you, Claus, that was enlightening. I'll see to put it to practice soon. Now, just not to open another thread unnecessarily, how do you determine Courant's number in steady state simulation since there's no deltaT? I have made so far all my runs with steady state and try alternatively between 10 or 20 iterations, because those are the numbers I see most people use, but I never adapted it to my cases. Does it have to do with initialization values? I always let them to zero, Saturne's documentation is not very clear about what they are. Thank you.
Moderators: catux
Time to create page: 0.116 seconds
Powered by Kunena Forum