One and only try for picewise linear

fedor.hrubisakUS9J9
Enthusiast
Enthusiast

One and only try for picewise linear

fedor.hrubisakUS9J9
Enthusiast
Enthusiast

Hello gentlemen. In my simulation i needed boundary condition that was dependent on location. In one simulation i calculated values and then exported them. The thing is: When i inported them into picewise linear for temperature, it worked for firts try. After that, every time i tried to run symulation again or change it, CFD woul crash to desctop immediately without even one line in message window or crash report. What is also strange is when originally importing all numbers got decimal digit and was ok, but after returning back all digits were replaced with commas and was giving warning about invallid numbers. Is there some simple thought that is escaping me?

0 Likes
Reply
429 Views
9 Replies
Replies (9)

karol.suchon
Alumni
Alumni

Hello Fedor, probably the issue is connected with the thousand separator.

After exporting results and importing them to the BC there is an issue with applying BC, the value over 1000 are probably divided by 1000 that could generate the problem.
Try to change the decimal and thousand separators like in the picture below.

 

karolsuchon_2-1634723665215.png

Best regards,
Karol

 

 

 

0 Likes

fedor.hrubisakUS9J9
Enthusiast
Enthusiast

Hello karol. 

I did what you suggested but nothing changed. Only thing i can do now is to save model as new one before running simulation

 

0 Likes

karol.suchon
Alumni
Alumni

Hello, could you attach the file simulation file with the CSV file?

Regards,

Karol

0 Likes

fedor.hrubisakUS9J9
Enthusiast
Enthusiast

Howc can i attach it? .cfdst is not supported here.

Best regards

Fedor

0 Likes

marwan_azzam
Alumni
Alumni

If you want to send a CFD model you need to send the cfz, not cfdst file.

Also, to be able to post it, you need to use winzip and post the zipped cfz file.  For some reason the forum does not like cfz files.

As Karol mentioned above, include the csv file by adding it to the zip file.

 

cheers,

Marwan

0 Likes

fedor.hrubisakUS9J9
Enthusiast
Enthusiast

Understood. Here is support copy and table of the gradient temperature

0 Likes

karol.suchon
Alumni
Alumni

Hello Fedor.
I checked the simulation and I do not have good news. It looks like that is a bug in the software. I will let now developers about the issue.

In a shortcut, I am able to put temperature boundary conditions once. After closing the simulation i am not able to run it again.

It also happens in the previous version of the software.

At this moment I try to find a proper way to recreate the issue, because 
If I will find the workaround I will let you know.

Regards,

Karol

0 Likes

karol.suchon
Alumni
Alumni

Hello Fedor.
I have new information and a workaround.

  • The issue appears only on cylindrical faces
  • It appears only if we need to create the new results files( start the simulation from 0 iterations if we have results)
  • The first run generates results without any problem.

So the workaround is similar to the rocket industry before the SpaceX era. We will have one use simulation file.

Every change which will require starting from the beginning will require a new copy of the simulation.

Look into the Attached file:

Use the new scenario, create the copy, change the settings in that scenario and run it.

If you will need to change mesh or BC and start from the beginning, recreate the process with The new one scenario.

karolsuchon_1-1636023801285.png

 

BTW
Even if we have multi faces BC with the Linear variation, it is applied separately for every surface, so you will need to prepare a separate CSV file for every face. In another case, your temperature field will look like below.

karolsuchon_2-1636024004294.png

If you will have any questions, feel free to ask:)
Best regards, 
Karol

0 Likes

fedor.hrubisakUS9J9
Enthusiast
Enthusiast

Thank you for your help Karol. I came to same sollution, even if its quite annoying.

Best regards.

Fedor

0 Likes