Comments (14)
Hi @Cheese-Lvjx,
The shear heating term described in the user guide only effects thermomechanical models in Underworld. The sandbox compression model is only a mechanical model ( no energy equation, temperature boundary conditions nor thermal properties ) the shear heating term will not do anything.
If you only want to visualise shear heating (viscous dissipation) you can do that by adding a new mesh variable and evaluating (stress tensor * strain rate tensor) values into it. I can help you with that if needed.
from underworld2.
I have one file for creating an additional swarm field for viscous dissipation with visualization using UWGeodynamic 2.11(@bknight1 shared with me before)
DissipationToolTest-BK.txt
from underworld2.
@Cheese-Lvjx Sorry, we can’t see your attached files from your reply.
You may need to attach the .py or .txt file in this conversation directly so we can see it(not from email attachment).
kind regards Peigen
@Peigen-L
sorry about that,I reuploaded the.TXT file here.
sandbox.txt
from underworld2.
Hi @Cheese-Lvjx,
I just had a look at your uploaded model.
Please ensure your scaling for the DruckerPrager rheology is appropriate for the model. I see you've used something like the original Compression Sandbox model (https://github.com/underworldcode/underworld2/blob/master/docs/UWGeodynamics/examples/1_26_NumericalSandboxCompression-MovingWall.ipynb) but have increased the length scale from cms -> kms and modified the material viscosities 1e12 -> 1e21.
This kind of redefinition will change the internal stress and the resolution of shear bands. Please be aware of this and test the resultant viscosityField (particles).
Fig = vis.Figure(figsize=(1200,400))
Fig.Points(Model.swarm, Model.viscosityField, fn_size=1.0)
Fig.show()
You may want to disable yielding altogether in the first place to assess the internal stress of the layers after a single timestep. You can use the projStressField (2nd invariant of the stress tensor) to analyse the stresses.
Fig = vis.Figure(figsize=(1200,400))
Fig.Points(Model.swarm, Model.projStressField)
Fig.show()
Hope this helps.
Thanks for the pointers @Peigen-L. Appreciate your contributions.
from underworld2.
Hi julesghub,
Thank you so much for your answer to solve my doubts,I would appreciate it if you could write a visualized shear heating example for my reference.
from underworld2.
from underworld2.
@Cheese-Lvjx Sorry, we can’t see your attached files from your reply.
You may need to attach the .py or .txt file in this conversation directly so we can see it(not from email attachment).
kind regards
Peigen
from underworld2.
@Cheese-Lvjx Hi, I made some modifications with the code you send me.
I am not familiar with your model but it seems a compression sandbox with temperature BC for me.
Here are some modifications I did:
- added the temperature diffusivity and capacity which you missed.
- added the VD swarm field
Now you have a model with VD field and temperature BC. You can create your own frictional boundary by making some modifications based on this.
CompressionSandbox_with_tempBC.txt
from underworld2.
@Cheese-Lvjx Hi, I made some modifications with the code you send me.
I am not familiar with your model but it seems a compression sandbox with temperature BC for me. Here are some modifications I did:
- added the temperature diffusivity and capacity which you missed.
- added the VD swarm field
Now you have a model with VD field and temperature BC. You can create your own frictional boundary by making some modifications based on this. CompressionSandbox_with_tempBC.txt
Hi,luo,
So thank you for your help!I have successfully applied it in my examples.by the way,I have serach many times about the VD field on github,but I didn't find it,so may I ask Is there another way for me to learn as a beginner,I am a bit frustrated in what I can find.
from underworld2.
Hi,@julesghub
I don't know how to solve the problem you mentioned above,when I increased the length scale from cms to kms,the VD field can't not show properly,so what should I do about that?
from underworld2.
I think the values of inf. are because of bad scaling.
Disable the plasticity and then take a look at the viscosity. As I mentioned the numbers in the DruckerPrager()
rheology will significantly effect the model. By disabling the plasticity DruckerPrager()
, or testing out different coefficient values, you should be able to get the model to behave better.
Underworld models are dependent on numerical scaling. If you increase a length scale you must ensure the other physical equations used in the model (rheological [constitutive], heat, continuity, momentum) are appropriate for new scaling.
from underworld2.
Hi, @julesghub
I have modified the material viscosities 1e8 -> 1e25,but VD fields still can't display properly,I don't know the scaling of VD fields and how I can slove this problem,And how can I ensure that when I change the size of the model, I still want to use the model parameters I need (such as viscosity) because I want to simulate a model that is closer to the real-world problems of GEO-science.
Expect your reply.
from underworld2.
Have you disabled all plastic rheologies? That will simplify the model at this stage. Once that is in order you can increase the complexity and include earth like numbers.
from underworld2.
Hi@julesghub ,
I have tried many times to modify the viscosity parameter and still haven't got the VD field,The data and scale I used are to describe the model I want to describe, but I can't get the answer I want now. The following is my txt. If you are free, could you help me to have a look,I really appreciate the help you have given me.
sandbox.txt
from underworld2.
Related Issues (20)
- Questions about the new version of mpirun. HOT 9
- Export antisymmetric tensor HOT 3
- Mesh loading issue during restarting (free top surface condition) HOT 4
- About shear heating in sandbox compression model
- Gathering All Mesh Data in Parallel HOT 6
- authorship
- HDF5 load HOT 4
- Segmentation fault HOT 1
- Trouble porting model from 1 to multiple mpi ranks HOT 3
- Weird question when loading variable HOT 2
- Increase resolution in a specific area HOT 2
- The influence of mesh resolution HOT 7
- HDF5: infinite loop error on Setonix (using singularity/3.8.6-mpi) HOT 5
- Melt in UWGeodyanmics Heat Eq. HOT 1
- About Material participation movement problem HOT 3
- How to set an elevation with a height variation in coupling model of uwGeodynamics and badlands HOT 2
- RuntimeError: There were left over keyword arguments. kwargs = [{'_fn_fssa': None}]
- communication between the UW2 model and the Badlands surface processes model
- UWGeodynamics velocitySurface_2D Bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from underworld2.