|
[Sponsors] |
How to "restart" sliding mesh simulation from MRF result? (Confusion on boundaries) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 30, 2024, 05:53 |
How to "restart" sliding mesh simulation from MRF result? (Confusion on boundaries)
|
#1 |
New Member
Niall O'Neill
Join Date: Feb 2023
Posts: 21
Rep Power: 3 |
Hello,
I am using OFv10 for a turbine simulation. I have a question about how I could go about running a sliding mesh simulation, from the results of a MRF simulation, just to skip over the initial transient part. Initially I tried to just copy the last time file over and start from the "latestTime" in the controlDict, but this gave me an issue. Then I realized that the boundary condition for velocity would change from "fixedValue" to "movingWallVelocity" on the blade. My question is, how would I change this boundary condition before starting the sliding mesh simulation? The only place that i can see boundary condition definitions is in the 0 time file, but If I re-start from 1000 (for example, if my MRF case converged within 1000 iterations), would openFOAM even recognize a change in the "0" file? I suppose essentially this is just confusion about how the actual boundary conditions themselves are initialized. I find it hard to get a good explanation of this online. Thanks |
|
January 31, 2024, 04:51 |
|
#2 |
Senior Member
|
Hi,
For these kind of operations I would suggest to look into changeDictionary. There are some tutorials that use this. Basically it allows you to change any dictionary within a file. It uses a changeDictionaryDict where you can specify what change you want to occur. Use Code:
find $FOAM_TUTORIALS -iname *changeDictionaryDict* Then copy one of those changeDictionaryDicts to your case folder, adapt as necessary and run: Code:
changeDictionary -time 1000 Regards, Tom |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
flow over cylinder in openFoam | saeed jamshidi | OpenFOAM Pre-Processing | 3 | August 11, 2023 15:16 |
Use of the result from the coarser mesh as the initial condition for the finer mesh | newface5150 | STAR-CCM+ | 5 | April 18, 2023 15:27 |
Wind Turbine Simulation with Periodic Boundaries without Sliding Interface | dvlastos | OpenFOAM Running, Solving & CFD | 0 | September 28, 2021 11:35 |
Shifting from MRF to SLiding mesh | er_ijaz | ANSYS | 0 | May 13, 2016 00:25 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |