Error running 2D model 回答済み

HI team

What does it mean when I get a error message saying data not consistent with coords. 

 

EDIT:

I have played around with my file for several hours and I can't seem to get the script to run. If someone would be able to take a look at my file it would be greatly appreciated. 

Thanks

Dave :)

9件のコメント

  • 正式なコメント

    Hi Dave,

    It looks like your table file isn't defined correctly. You have 404 x co-ordinates and 380 y co-ordinates. This means you should have 152737 grid elements but you only have 75978 defined. Here is a pdf that should help you with how the table file should be set up.

    Best Regards,

    Chloe

    コメントアクション Permalink
  • Hi Dave,

    Yes of course we can take a look at your file. Please share it via your preferred cloud sharing service.

    Thanks,

    Chloe

    コメントアクション Permalink
  • Hi Chloe

    Thank you for the response.

    Here is the link to my files via OneDrive.

    https://strath-my.sharepoint.com/:f:/r/personal/david_harra_strath_ac_uk/Documents/PhD/OnScale?csf=1&web=1&e=KRlWjj

    Thanks

    Dave :) 

    コメントアクション Permalink
  • Hi Dave,

    Can you please give me permissions to access the files.

    Thanks,

    Chloe

    コメントアクション Permalink
  • Hi Chloe

    Please try this link, I changed the settings.

    https://strath-my.sharepoint.com/:f:/g/personal/david_harra_strath_ac_uk/ErBjASaXsNVHgcQ1UPzn6DwBYYzp6K5YR6B4KyTmTv1xkQ?e=SU4iUb

    It will ask for a password which is just:

    onscale2021

    Thanks

    Dave :)

     

    コメントアクション Permalink
  • Hi Chloe

    I managed to sort out the grid issue. When I am plotting my material, there only seems to be half my data being plotted.  I am not sure if I need to define a new material axis.

    The xcrd from my flxtbl file goes from 0.001 upto 0.01105 (data1) then 0.001 upto 0.01105 (data2)


    What I am aiming to do is take  data1, horizontally flip the material and join tem together like a mirror image. I believe this is done now correctly in Matlab and needs something altered in the script. The flxtbl file should contain all the correct information now.

    If you have any ideas that I could try or if you could have a look at the updated file. I would greatly appreciate this.

    Thanks

    Dave :) 

    コメントアクション Permalink
  • Hi Dave,

     

    Could you send a link to the updated files please. The previous link still has the old ones.

    Thanks!

    Chloe

    コメントアクション Permalink
  • Hi Chloe

    I eventually figured out how to solve this issue and have this up and running. So thank you for the document you sent me, it steered me where I had to go and ironed out other issues.

    If I may though, I have one last question about a line of coding in my script. In Lines 72 where I read in my rotations file,

    c Materials
    symb #get { nmat } tablmatr $tfname
    axis
    symb #read Rotations_50um.txt
    form angl
    defn matAx1 cart 0. 0. 0. 0. 45. 0.
    end

    The line that reads

    defn matAx1 cart 0. 0. 0. 0. 45. 0.

    I am unsure exactly what is happening here.

    From what I can see it is defining the material axis for each material in my rotational file and giving it the name called matAx1. Am I correct saying that the 6 proceeding integers represent (x y z i j k)?

    0. 0. 0. 0. 45. 0.

    What exactly does this 45. represent and what is it doing to my data and how does it affect my simulation.

    Thanks

    Dave :)

    コメントアクション Permalink
  • Hi Dave,

    defn matAx1 cart 0. 0. 0. 0. 45. 0.

    The above command is defining a local co-ordinate system which allows you to orientate the materials it is applied to. Have a look at the Command Reference for more details on the syntax (available in Help tab of OnScale). But basically the 6 proceeding integers are the x y and z global co-ordinates of the origin of the desired local system co-ordinate and the three rotation angles about the global axes that will transform a global system into the desired local system. 

    I hope this helps!

    Best Regards,

    Chloe

    コメントアクション Permalink

サインインしてコメントを残してください。

お探しのものを見つけられませんでしたか?

新規投稿