|
[Sponsors] |
September 7, 2018, 08:37 |
Import solution from another simulation
|
#1 |
New Member
Soonseok Soong
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Hi, I am trying to plot a pressure difference of two simulations on the body in a 3D scene. (two simulations using the same mesh, but different conditions hence different pressure distributions)
I tried to import the solution and subtract the pressure fields, but I couldn't as they are in different regions (original region and imported region). And, I tried to map the field function of the imported region (pressure) into the original region, but there is an error ("INPUT ERROR: Choose source fields for mapping.") Does anyone know how to do it or any tutorials? Thank you |
|
September 9, 2018, 00:12 |
A suggestion!
|
#2 | |
New Member
Siddharth
Join Date: Jul 2018
Posts: 26
Rep Power: 9 |
Quote:
Say you have simulations Sim1 and Sim2 with same mesh but different conditions. Try the following. 1. Export the 'solution data only' from Sim1. (select your desired functions) Say, Sim1_sol. 2. Export the 'mesh data only' from Sim2. Say, Sim2_mesh. 3. Import Sim1_sol to Sim2. 4. You will see new field functions generated in Sim2. 5. Write one field function to find the difference (like $newPressure-$Pressure) 6. Create a scalar scene with your field function. Hope this helps! |
||
September 10, 2018, 07:19 |
|
#3 | |
New Member
Soonseok Soong
Join Date: Sep 2018
Posts: 2
Rep Power: 0 |
Quote:
The problem was I cannot subtract the field functions because they were in different regions, that is why I was trying to map the field function into another region (imported region to original region). When I tried to map the solution using 'right click' in the imported part tree, I couldn't do this for an error I don't understand, but when I tried the same thing at 'Tools-Data Mappers' I could manage to do this. (I don't know what is the difference between two as I put the same input part, target part, target field function, etc.) Thank you. |
||
September 10, 2018, 07:48 |
|
#4 |
New Member
Siddharth
Join Date: Jul 2018
Posts: 26
Rep Power: 9 |
Glad to hear that your problem is solved
|
|
May 29, 2020, 10:34 |
|
#5 | |
New Member
Abhishek Shingala
Join Date: May 2020
Location: Stuttgart
Posts: 4
Rep Power: 6 |
Quote:
|
||
September 7, 2020, 16:27 |
|
#6 |
New Member
Xutong
Join Date: Nov 2018
Posts: 3
Rep Power: 8 |
||
Tags |
data maaping, import solution |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using solution of a complete simulation in order to simulate just an extract | bench_ | STAR-CCM+ | 0 | December 12, 2017 13:06 |
[General] Plotting solution vector from Matlab in Paraview | crg123 | ParaView | 0 | November 20, 2016 13:19 |
Unsteady simulation with steady solution as initial value | kiddmax | OpenFOAM Running, Solving & CFD | 8 | August 20, 2015 06:12 |
Zero mass flow rate and non converging solution during fan simulation | Bisht | STAR-CCM+ | 6 | June 4, 2015 10:20 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |