Replies: 1 comment 10 replies
-
Hi @Geomory, The general rules for setting this matrix as far as I can tell are:
So let's look at your first example:
The problem here is rule (2) - fault5 ist trying to affect faults 4,3,2 which are all younger - not allowed. You coul however reorder the groups to make fault 5 the youngest and adapt accordingly. Your second example:
Here (and actually also in the example before) as far as I can tell you are trying to set fault7 to cut itself, which is not allowed and therefore overwritten. I am not enitirely sure what is happening with fault4, maybe try setting it to affect everything older than 6 to see if that works. If you are able to sahre the complete notebook, I might also be able to take a closer look. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi GemPy community,
I am having issues setting up my fault relation matrix as desired. My model consists of 9 structural groups, of which 8 are faults and 1 is my strata. I have set up my geo_model and read the input data for my geo_model before my following code snippet. I am setting up my faults like so:
Create a list of fault file names in the specified order
fault_files = [f"F{i}_simplified.csv" for i in range(1, 9)]
Initialize an empty list to store fault elements
fault_elements = []
Loop through the fault files to read data and create StructuralElement objects
Define a new structural group to contain faults
Add the faults group inbetween the sediments group and the default formations.
Add orientations for each fault element
Map stack to surfaces with all fault groups
Set each Fault{i} to fault
print(geo_model.structural_frame)
The output is then the following:
However, I want certain faults to be affected by other faults
So, the fault relation matrix I am trying to pass looks like that:
Now when I run
gp.set_fault_relation(frame=geo_model.structural_frame, rel_matrix=rel_matrix) print(geo_model.structural_frame.fault_relations)
I get the following output:
ValueError: Fault Faults5 cannot affect older fault Faults2
But this can not be correct, since in the structural frame, Faults2 is younger than Fault5?
When I set the corresponding position to "0", it tells me that Faults5 cannot affect older fault Faults3. Same with Faults4.
And when I try to give:
It works, but I get the following fault relationship:
Which is still not correct. Any pointers to what I am doing wrong?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions