|
[Sponsors] |
Some problems on bi-material computation using solids4foam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 14, 2022, 22:43 |
Some problems on bi-material computation using solids4foam
|
#1 |
New Member
young4of
Join Date: Nov 2021
Posts: 29
Rep Power: 4 |
Hi everyone,
Recently, I have become very interested in solids4foam to study geotechnical problems and try to implement various applications of multi-layer soil in it. The first thing I learned was the bi-material problem, which has been implemented in solids4foam with examples. But when I tried some modifications, I encountered some problems. I hope you can give me some advice or guidance. First of all, I want to know what principle is used to write the fields into the time folders in the bimaterial examples. Why is the output D, epsilon, Sigma, pointD etc.? However, the volFields defined in the mechanicalLaw by me cannot be output in the time folders. What is the reason for this? Secondly, I tried to use multi-layer soil in the stripfooting example, which involves multi-material. But when I ran it, there was an error which said that request for volScalarField p from objectRegistry soil1Subset failed, available objects of type volScalarField are 2(sigmaHyd p0). I'm not very clear at the moment. Could you please give me some suggestions or directions to think about? These questions seem very simple, but they are very important to me. I hope you can express your views. Thanks all. Young |
|
December 21, 2022, 12:12 |
|
#2 | ||
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,093
Rep Power: 34 |
Hello Young,
See my replies below: Quote:
Based on this comment, I have created an issue on GitHub at https://github.com/solids4foam/solid...b.io/issues/40. In multi-material cases, solids4foam creates a mechanical law for each material; it also creates a "sub-mesh" for each material. In that case, fields within a mechanical law are defined on the sub-meshes, not on the entire mesh, so they are not automatically viewable by ParaView. It should not be an issue to find a solution for this; for example, a new function object could look up the law fields and map them to base mesh field for visualisation. Feel free to create an issue at the GitHub page and we can discuss solutions there. Note that you can still output the mechanical law fields to the time directories, however, they will be written to sub-directories of the time directories. Quote:
Philip |
|||
Tags |
multi-material, output, solid mechanics, solids4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
Boundary Conditions in solids4Foam contact problems. | ajelahe74 | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 3 | July 23, 2021 13:15 |
Facing problems with material adding in Fluent | sulman-malik | FLUENT | 0 | March 17, 2021 20:22 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 01:58 |