Git Product home page Git Product logo

Comments (32)

martijnende avatar martijnende commented on August 20, 2024 1

A quick fix for you would be to go to src/pyqdyn.py and modify line 546 replacing delim_whitespace=True with delimiter=",". Could you check if that fixes the issue?

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

Could you provide details of how to reproduce the problem?

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

As I extracted the Fort.18 file in excel every value is at its position. But while calling the output file in any one of these wrapper I am not getting any plot. over jupyter as well as in matlab.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

Could you provide details of how to reproduce the problem?

I'm just running your example provided in the manual using Jupyter Notebook.

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

Could you provide details of how to reproduce the problem?

I'm just running your example provided in the manual using Jupyter Notebook.

Which example did you try?

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

Could you provide details of how to reproduce the problem?

I'm just running your example provided in the manual using Jupyter Notebook.

Which example did you try?

Spring block, RSF, and Singel Asperity

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

I've just run the example notebooks, and I cannot reproduce the problem. Are you running the latest version? (2e6646df3b0fbbe4e41dac1b3450b2dbc80c8de4)

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

I've just run the example notebooks, and I cannot reproduce the problem. Are you running the latest version? (2e6646df3b0fbbe4e41dac1b3450b2dbc80c8de4)

Yes
I am using (2.2.2).
Is it possible, I may send you a screenshot of the problem over e-mail.

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

There have been a few undocumented releases since 2.2.2, so make 100% sure you have compiled the latest commit (git pull origin master and make clean && make in your src directory).

You can attach files (screenshots) by dragging and dropping into the comment box.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

@
2020-03-16 (1)

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

2020-03-16 (2)

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

2020-03-16 (3)

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

This is the issue that I am getting.
there is no problem with p.ox file you can see this in the 2nd screenshot. But p.ot is not giving values.
As I opened the Fort file all the values are at its place.

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

Could you revert to commit d9afd684dd5a5269e1f4bfea831faddcab48b46d and check if the problem persists: git checkout d9afd68 && make clean && make in your src directory. Make sure to fully reload the notebooks.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

git checkout d9afd68

Did it but still getting the issue....

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

From your screenshots it seems that fort.18 is fine, so that the problem must be in the file reader module. What is your version of Pandas?

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

From your screenshots it seems that fort.18 is fine, so that the problem must be in the file reader module. What is your version of Pandas?

Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

And your Pandas version? import pandas, print(pandas.__version__)

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

And your Pandas version? import pandas, print(pandas.__version__)

pandas version 0.25.1

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

Hmm, that shouldn't be a problem then. Could you attach your fort.18 to this thread (drag and drop)?

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

fort.txt

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

Hmm, that shouldn't be a problem then. Could you attach your fort.18 to this thread (drag and drop)?

I attached the fort.txt after changing the extension.

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

I'll see if I can have a closer look tomorrow

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

I've finally had a chance to look at your fort.18 file. What I noticed, is that yours is comma delimited, while all output should be delimited by white spaces. Any idea why your output is comma delimited?

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

I've finally had a chance to look at your fort.18 file. What I noticed, is that yours is comma delimited, while all output should be delimited by white spaces. Any idea why your output is comma delimited?

How would I know I haven't changed anything in the code. I just tried to run the examples only.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

Thank you it worked,
Is it possible to use 3D simulation using python.

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

Thank you it worked,

Good to hear that (temporarily) fixes the issue. I'll see if I can figure out why you get comma separated output in the first place.

Is it possible to use 3D simulation using python.

Yes, though 3D simulations have not been tested using the Python wrapper, so you might run into some issues along the way.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

Thank you it worked,

Good to hear that (temporarily) fixes the issue. I'll see if I can figure out why you get comma separated output in the first place.

Is it possible to use 3D simulation using python.

Yes, though 3D simulations have not been tested using the Python wrapper, so you might run into some issues along the way.

Ok, Thank You. I will try, if I will encounter any issues then I will contact you.

from qdyn.

jpampuero avatar jpampuero commented on August 20, 2024

The comma is not a bug but a feature when OCTAVE_OUTPUT is enabled (line 279 of src/output.f90).
You are not using Octave, thus you should set OCTAVE_OUTPUT = .false. in constants.f90, and then recompile the qdyn code (run make).

from qdyn.

martijnende avatar martijnende commented on August 20, 2024

That is a good point, I didn't think of that. When you set OCTAVE_OUTPUT = .false., then don't forget to revert back to delim_whitespace=True in pyqdyn.py:546.

Since apparently this behaviour is not caused by a bug in the code, I will now close the issue.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

That is a good point, I didn't think of that. When you set OCTAVE_OUTPUT = .false., then don't forget to revert back to delim_whitespace=True in pyqdyn.py:546.

Since apparently this behaviour is not caused by a bug in the code, I will now close the issue.

well as I checked Constants.f90 the octave output is false.

from qdyn.

geodeepak avatar geodeepak commented on August 20, 2024

Screenshot from 2020-03-28 14-19-03

from qdyn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.